Positioning Aloha to the top of text
-
Hey, this is my first time on here and would like to say i love this WP plugin XD
Have been looking into the Aloha editor about positioning it to the top of the current text box as it is a real pain it sliding all over the page. I managed to find this response here.
how_do_i_position_the_toolbar_from_javascriptBut when i use js code,
Aloha.settings.floatingmenu = { behaviour: 'append', // attach FM to the position of a HTML element element: 'my-html-element-id', // HTML DOM ID of the element pin: false, // boolean if set to true the FM will be pinned (and scroll with the window) };
I get this error
Uncaught ReferenceError: Aloha is not defined
Any help would be greatly appreciated.
Thanks
- The topic ‘Positioning Aloha to the top of text’ is closed to new replies.