Replaced the FCKeditor with the new CKeditor v4. Implemented a plugin that allows dragging and dropping one or more files into the CKeditor - plugin name is dndfiles. Modified the save toolbar button on the CKeditor so that it behaves like a submit button. Implemented a timestamp plugin that behaves the same way as the old timestamp button on FCKeditor. Added a plugin to the CKeditor that allows typing LaTeX syntax.
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
<script>
|
||||
|
||||
// Prevent from DOM clobbering.
|
||||
if ( typeof window.opener._cke_htmlToLoad == 'string' ) {
|
||||
var doc = document;
|
||||
doc.open();
|
||||
doc.write( window.opener._cke_htmlToLoad );
|
||||
doc.close();
|
||||
|
||||
delete window.opener._cke_htmlToLoad;
|
||||
}
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user