Page editor scrollbar does not lock in
-
Hi,
editing longer pages is impossible with WPGlobus. The editor content will expand to contain all the post text, HOWEVER when scrolling down, the editing toolbar (B, I, U and other buttons) will not stay on top for any other language than the first language.
I have narrowed the issue down to the following:
– WordPress has a javascript code for stickiness ineditor-expand.js
– However, this code relies on the fact that there is only one editor (e.g. all HTML elements are referenced via their respectable IDs)
– WPGlobus javascript magic duplicates the edit elements (#wp-content-wrap
,#wp-content-editor-tools
) for each successive languageThe corollary is that the navigation sticks to the top of the page for the first language only.
I don’t know what would be the best way to fix it, but I can see two possible solutions:
– Fix WordPress itself to reference the elements viaclass
attribute instead ofid
– Replicate WordPress javascript in WPGlobus for all the other languages
– Fix WPGlobus so that it doesn’t use multiple editors, but keep one editor only and switch content via javascript on language change
- The topic ‘Page editor scrollbar does not lock in’ is closed to new replies.