Sha256: a36df1c8e4f5c367529f3306bf802347804e8e556e30cd1dcb54343834aa6b3c

Contents?: true

Size: 910 Bytes

Versions: 5

Compression:

Stored size: 910 Bytes

Contents

function init(){SXE.initElementDialog("del");if(SXE.currentAction=="update"){setFormValue("datetime",tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement,"datetime"));setFormValue("cite",tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement,"cite"));SXE.showRemoveButton()}}function setElementAttribs(a){setAllCommonAttribs(a);setAttrib(a,"datetime");setAttrib(a,"cite");a.removeAttribute("data-mce-new")}function insertDel(){var d=tinyMCEPopup.editor.dom.getParent(SXE.focusElement,"DEL");if(d==null){var c=SXE.inst.selection.getContent();if(c.length>0){insertInlineElement("del");var a=SXE.inst.dom.select("del[data-mce-new]");for(var b=0;b<a.length;b++){var d=a[b];setElementAttribs(d)}}}else{setElementAttribs(d)}tinyMCEPopup.editor.nodeChanged();tinyMCEPopup.execCommand("mceEndUndoLevel");tinyMCEPopup.close()}function removeDel(){SXE.removeElement("del");tinyMCEPopup.close()}tinyMCEPopup.onInit.add(init);

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
compass-jquery-plugin-0.3.3.1 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js
compass-jquery-plugin-0.3.3.0 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js
compass-jquery-plugin-0.3.2.8 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js
compass-jquery-plugin-0.3.2.7 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js
compass-jquery-plugin-0.3.2.7.nil templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js