WordPress.org

Ready to get started?Download WordPress

Forums

Feature Request: Create js - a new kind of web editing interface (12 posts)

  1. Paal Joachim Romdahl
    Member
    Posted 2 years ago #

    Hi

    Perhaps this is something for the WordPress community and core developers?

    http://createjs.org/

    Have a great day!

  2. The license doesn't look compatible with GPL2.

  3. henribergius
    Member
    Posted 2 years ago #

    CreateJS is completely under the MIT license, which can be used inside GPLd software. From Wikipedia:

    The license is also GPL-compatible, meaning that the GPL permits combination and redistribution with software that uses the MIT License

    The only non-compatible part is the option to use Aloha Editor (AGPLv3). The default Hallo Editor is MIT-licensed.

  4. henribergius
    Member
    Posted 2 years ago #

    By the way, I just posted some updates on the progress of CreateJS.

  5. Oh good. :) I was squinting over too-early-morning coffee.

    I forgot MIT was the same as the Expat license.

  6. henribergius
    Member
    Posted 2 years ago #

    Some examples of CreateJS integration in other PHP systems:

  7. scribu
    Member
    Posted 2 years ago #

    Hi, I'm the author of the Front-end Editor.

    A problem I ran into while integrating Aloha:

    To start editing an element, I have to retrieve the raw content from the database, which is different from what gets rendered inside the RDFa tags.

    Similarly, when saving the editable, I have to retrieve the rendered content through AJAX and inject it back into the page.

    Can CreateJS accomodate that?

  8. henribergius
    Member
    Posted 2 years ago #

    CreateJS uses Backbone.js views and models to manage data, so fetching content from server and refreshing it to the page is basically a single-liner:

    You would hook into the "activate" event of editable entities in Create, and then just call the fetch method on them. CreateJS would do handle the rest.

  9. scribu
    Member
    Posted 2 years ago #

    Ok, that seems relatively straightforward.

    Another thing: CreateJS seems to only support contentEditable. In FEE, some elements need to be edited using a simple <select> tag or by opening a lightbox window. Would I have to create Backbone views for each of these cases?

  10. henribergius
    Member
    Posted 2 years ago #

    CreateJS has a widget selection mechanism. By default it uses a contentEditable (Hallo or Aloha) for everything, but you can supply it with a callback that instantiates other widgets as well. Good examples would be selections or date pickers.

    There is no example code for this right now, but it should be quite straightforward.

  11. Paal Joachim Romdahl
    Member
    Posted 2 years ago #

    From reading http://wpdevel.wordpress.com/
    and Team Gandalfs update: http://wpdevel.wordpress.com/2012/02/27/team-gandalf-update-4/

    There is something called the "customizer" which will be a part of the next version of WordPress 3.4. To be released sometime in April. (or so the plan is)

    "Dominik’s time will be limited over the next few weeks due to exams, so if any of this sounds exciting to you, please let me know."

    If anyone has the knowledge and would like to help out, check the above links for more information.

  12. Paal Joachim Romdahl
    Member
    Posted 1 year ago #

    Hey Guys

    Do you know about http://www.mongopress.org/?
    What about adding Create JS or something similar into it?

    It seems like a new fresh seedling that was inspired from the WordPress tree.

Topic Closed

This topic has been closed to new replies.

About this Topic