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

Commit

Permalink
fix bug 767099 - Move path bar to top of WYSIWYG
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Jun 21, 2012
1 parent 6d8f983 commit ecb6f9a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions apps/wiki/templates/wiki/ckeditor_config.js
Expand Up @@ -4,7 +4,7 @@ CKEDITOR.on('instanceReady', function (ev) {

// Tighten up the indentation a bit from the default of wide tabs.
writer.indentationChars = ' ';

// Configure this set of tags to open and close all on the same line, if
// possible.
var oneliner_tags = [
Expand All @@ -20,7 +20,12 @@ CKEDITOR.on('instanceReady', function (ev) {
breakAfterClose: true
});
}


// Retrieve nodes important to moving the path bar to the top
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);
});


Expand Down
6 changes: 6 additions & 0 deletions media/ckeditor/skins/kuma/editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecb6f9a

Please sign in to comment.