toggleHighlight: function(toggle) {
this._container().toggleClass('highlighted-element', toggle);
},
toggleHighlight: function(toggle) {
this._container().toggleClass('highlighted-element', toggle);
},
- handle: function(event) {
- var toSet = event.meta.node.getText();
- if(toSet === '') {
- toSet = utils.unicode.ZWS;
+ setText: function(text) {
+ if(text === '') {
+ text = utils.unicode.ZWS;
getText: function(options) {
options = _.extend({raw: false}, options || {});
var toret = this.dom.text();
getText: function(options) {
options = _.extend({raw: false}, options || {});
var toret = this.dom.text();