WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
Positioning Aloha to the top of text (1 post)

  1. toxinhead
    Member
    Posted 1 year ago #

    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_javascript

    But 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

    http://wordpress.org/extend/plugins/front-end-editor/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic