Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » elRTE

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1405 Views
  • Tony Air
    Avatar
    Community Member
    13 Posts

    elRTE Link to this post

    Hi there, I don't like TinyMCE and we're using CKEditor at the customized SS2, but I don't have module implementation.
    Since SilverStripe CMS was moved to jQuery UI we decided to work on elRTE integration. I think it will be the best editor for SS.
    I have attached draft elRTE module for the SS3.

    Ah, also u need to comment out a line at framework/admin/code/LeftAndMain.php:
    FRAMEWORK_DIR . '/javascript/HtmlEditorField.js',

    elRTE is an open-source WYSIWYG HTML-editor written in JavaScript using jQuery UI. It features rich text editing, options for changing its appearance, style and many more. You can use it in any commercial or non-commercial projects.

    Here's some additional information about elRTE: http://elrte.org/

    P.S. For some reason my old account is inaccessible so I've got to use one a new one, sorry

    Attached Files
  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: elRTE Link to this post

    Hi, I been looking for this
    is it for SS3 or SS2.4.x ?
    Thanks

  • Tony Air
    Avatar
    Community Member
    13 Posts

    Re: elRTE Link to this post

    Hi it's for SS3 I have also fixed few issues and here's the latest version.
    Sorry, I have taken it from my project so script paths should be fixed.
    Plz, share if u'll make any improvements.

    In this version u don't need to do any core modifications just replace HtmlEditorField in DataObjects or Pages with this code

    public function getCMSFields() {
          $fields = parent::getCMSFields();
          $fields->replaceField('Content',
             new ElEditorField('Content',_t('SiteTree.Content','Content'))
          );
          return $fields;
       }

    Attached Files
    1405 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.