elRTE is a WYSIWYG HTML-editor written in JavaScript using jQuery UI. It features rich text editing, options for changing its appearance, style and many more.
elFinder is an open-source file manager for web, written in JavaScript using jQuery UI.
Client: Modern browser. elFinder was tested in Firefox 3.5+, Internet Explorer 7 & 8, Safari 4, Opera 10 and Chrome
Server: Image preview and thumbnails creation requires: PHP: mogrify utility or GD/Imagick module Widget use jQuery, jQuery UI Tested on Yii 1.1.7 and 1.1.8
'root' => $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'/content', // path to root directory 'URL' => 'content/', // root directory URL
Minimum configuration:
$this->widget('application.extensions.elrte.elRTE', array( 'selector'=>'Page_html_content', ));
More configuration options:
$this->widget('application.extensions.elrte.elRTE', array( 'selector'=>'Page_html_content', 'doctype' => '<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">', 'cssClass' => 'el-rte', 'absoluteURLs' => 'false', 'allowSource' => 'true', 'lang' => 'ru', 'styleWithCSS' => 'true', 'height' => '500', 'width' => '900', 'fmAllow' => 'true', 'toolbar' => 'myToolbar', ));
For options description see here
9 August 2011 - Added possibility to run widget for different text fields(selectors) on one page
Used elRTE 1.3 + elFinder 1.2
Total 10 comments
Thanks for that extension. Works great.
Just a problem a notice, when other widget are included in the page (eg CJuiDatePicker) we get some errors (image button not working for example). So, in elRTE.php i changed
to
then, it seems all right...
I have succesfully install elrte and show the editor. But when i click icon toolbar Image/Flash, it didnt show anything. Firebug show the error on 'this.element.propAttr is not a function' and '
...complete"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.pre... jquery-ui.min.js (line 12)'. Anybody can help me???
@ dominicus : U must put closing tag below the widget
It's not working..... no editor at all....
any solution?
You planning to upgrade this widget for use with http://elfinder.org/ 2.0 ? looks even more awesome:)
Fantastic.
you need to have an empty textarea or div with an id that you give to the widget. In the above example, you should have ie. a
somewhere on the page.
it's not work
It would be nice if it would be possible to show elfinder only too.
nice extension :)
Leave a comment
Please login to leave your comment.