Front-end Editor
[resolved] how to initialize alohaBlock with fee (3 posts)

  1. davidosullivan
    Posted 3 years ago #

    Hey there,

    have just started my experiments with the aloha blocks plugin but have stumbled at the first hurdle!

    there are two lots of Aloha docs, both say slightly different things. I appreciate that this is a feature 'in development' but I am guessing I should be able to get it to do something...

    Thiese are the docs:-

    One says you need common/paste + common/block plugins which are already there in the list at 129 in core.php. The other says that you need 'common/contenthandler' aswell so I have added this too. (actually this seems to work quite well at stripping out 'Word Crap' on paste any reason why its not enabled by default?)

    Then you are supposed to be able to initialise blocks with:-

    But that doesn't work I just get 'Uncaught TypeError: Object [object Object] has no method 'alohaBlock'.

    I have tried the demo by uploading the aloha editor fee uses directly and that does work so I am guessing I need to do something different to speak to aloha directly in FEE since this is a WordPress plugin?

    Any ideas?


  2. scribu
    Plugin Author

    Posted 3 years ago #

    Try using Aloha's jQuery instance:

  3. davidosullivan
    Posted 3 years ago #

    Thats brilliant thanks! ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Front-end Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic