481 Posts in 150 Topics by 238 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 375 Views |
-
elRTE

23 October 2012 at 4:23pm Last edited: 23 October 2012 4:26pm
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
-
Re: elRTE

2 February 2013 at 3:10pm Last edited: 2 February 2013 3:14pm
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;
}
| 375 Views | ||
|
Page:
1
|
Go to Top |


