Sha256: e91331cf90f29297a40f08fd0539cad5df3b9f3acdbba561068c37bed873fefa

Contents?: true

Size: 910 Bytes

Versions: 5

Compression:

Stored size: 910 Bytes

Contents

function init(){SXE.initElementDialog("ins");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 insertIns(){var d=tinyMCEPopup.editor.dom.getParent(SXE.focusElement,"INS");if(d==null){var c=SXE.inst.selection.getContent();if(c.length>0){insertInlineElement("ins");var a=SXE.inst.dom.select("ins[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 removeIns(){SXE.removeElement("ins");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/ins.js
compass-jquery-plugin-0.3.3.0 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js
compass-jquery-plugin-0.3.2.8 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js
compass-jquery-plugin-0.3.2.7 templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js
compass-jquery-plugin-0.3.2.7.nil templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js