Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
fix bug 843078 - Update build timestampfor CKEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Feb 20, 2013
1 parent 9ec03db commit d7215ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/wiki/templates/wiki/ckeditor_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ CKEDITOR.on('instanceReady', function (ev) {
var tbody = ev.editor._.cke_contents.$.parentNode.parentNode,
pathP = tbody.lastChild.childNodes[0].childNodes[1],
toolbox = tbody.childNodes[0].childNodes[0].childNodes[0];
toolbox.appendChild(pathP);

if(toolbox && pathP) {
toolbox.appendChild(pathP);
}
});

// Any utilities we need to be globably available will go here
Expand Down Expand Up @@ -86,6 +89,7 @@ CKEDITOR.mdn = {};
block('controlShiftO');
})();

CKEDITOR.timestamp = '{{ BUILD_ID_JS }}';
CKEDITOR.editorConfig = function(config) {

config.extraPlugins = 'autogrow,definitionlist,mdn-buttons,mdn-link,mdn-syntaxhighlighter,mdn-keystrokes,mdn-attachments,mdn-image,mdn-enterkey,mdn-wrapstyle,mdn-table,tablesort,mdn-sampler,mdn-sample-finder,mdn-maximize';
Expand Down

0 comments on commit d7215ff

Please sign in to comment.