can you add 4 methods to get CodePress status?
Status: Beta
Brought to you by:
fermads
can you add 4 methods to get CodePress status at next version like those?
self.isAutoComplete = function(){
return self.editor.autocomplete;
}
self.isReadOnly = function() {
return self.textarea.readOnly;
}
self.isLineNumbers = function() {
var cn = self.editor.body.className;
var show=(cn==''||cn=='show-line-numbers') ? true : false;
return show;
}
self.isEditor = function() {
return self.textarea.disabled;
}
I think these may be useful to display CodePress's status.
thank u
edited two files