Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mozilla/kuma
...
head fork: mozilla/kuma
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 5 additions and 1 deletion.
  1. +5 −1 apps/wiki/templates/wiki/ckeditor_config.js
View
6 apps/wiki/templates/wiki/ckeditor_config.js
@@ -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
@@ -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';

No commit comments for this range

Something went wrong with that request. Please try again.