Development of editMe has been DISCONTINUED. There will be no future updates, bug fixes or support.
editMe is a Yii Framework extension which creates a highly customizable WYSIWYG editor (based on CKEditor) with just one line of code.
Development of editMe has been DISCONTINUED. There will be no future updates, bug fixes or support.
editMe is a Yii Framework extension which creates a highly customizable WYSIWYG editor (based on CKEditor) with just one line of code.
Extension is really good.
Thank you!!!
thank you again
since i'm using your great extension in my new project, again, I think I should thank you again, for your work and support, and suggest your extension to anyone who is looking for a WYSIWYG editor which is nicely integrated with Yii.
Thanks a lot!
I had a lot of troubles implementing an editor or using oher extensions.
This one works great, thanks for that!
Re: Tab key button
Hey seniorboss
By default, pressing the tab key while inside the editor editing area will switch to the next field inside the form, no additional options are necessary for that. Try to remove the option "enableTabKeyTools" and see if it works...
New skin
First of all, great ext! saved my time and life :)
I'd like to change the dafault skin with new one. I tried to change with one included inside the ext, 'office2003', and it worked. Here's the code
'ckeConfig'=>array( 'skin'=>'office2003', ),
than i googled for some cool skins, and I found these
http://ckeditor.com/blog/ckeditor-4-skin-contest-finalists
and tried the same stuff
'ckeConfig'=>array( 'skin'=>'ozone', ),
...of course, is not working at all :(
Any suggestion? Thank you very much.
Re: How to get textarea value?
Hey Giacomo
Unfortunately CKEditor doesn't offer a classic onChange event.
To accomplish something like that, you will need to implement something yourself.
There is a plugin which implements an onChange event for CKEditor: http://alfonsoml.blogspot.ch/2011/03/onchange-event-for-ckeditor.html
Please understand that i can't offer support for this plugin since i myself never used it.
you might be able to find a possible solution here as well:
http://stackoverflow.com/questions/5143516/detecting-onchange-events-from-a-ckeditor-using-jquery
Since some of the solutions require you to access to CKEditor instance, here's an example of how to do that:
<?php $editMe = $this->widget('ext.editMe.widgets.ExtEditMe', array( 'name'=>'example', 'value'=>'', )); ?> <script type="text/javascript"> jQuery(document).ready(function() { var ckeInstance = jQuery("#<?php echo $editMe->htmlOptions['id']; ?>").ckeditorGet(); alert(ckeInstance.getData()); }); </script>
hope this helps
Default cellpadding, cellspacing, border for a table
Hi, thanks for your previous advices.
I've another question to ask. Where and how can I set up configuration like these?
Thank you very much
EDIT: I've solved placing the code
CKEDITOR.on('dialogDefinition', function( ev ) { var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; if(dialogName === 'table') { var infoTab = dialogDefinition.getContents('info'); var cellSpacing = infoTab.get('txtCellSpace'); cellSpacing['default'] = "5"; var cellPadding = infoTab.get('txtCellPad'); cellPadding['default'] = "5"; var border = infoTab.get('txtBorder'); border['default'] = "0"; } });
directly inside the page
Thanks
works flawlessly.... good extension
keep up the good work
Good ckextension
Just installed and it worked anything like. Thanks
Good job
Thank you very much!
Awesome!!
Its really a great extension and very easy to install. Thanks
Update preview div
Can this editme update an preview textarea or div as the user types or edits? if so how can this be done.
Customzie toolbar
Customzie toolbar
$editMe = $this->widget('ext.editMe.widgets.ExtEditMe', array( 'name' =>'Event[notes]', 'value' => $model->notes, 'toolbar'=> array( array( array( 'Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates', ), array( 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo', ), array( 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ), array( 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ), '/', array( 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat', ), array( 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', ), array( 'Link', 'Unlink', 'Anchor', ), array( 'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ), '/', array( 'Styles', 'Format', 'Font', 'FontSize', ), array( 'TextColor', 'BGColor', ), array( 'Maximize', 'ShowBlocks', ), array( 'About', ), ) ) ));
Spell checker
Add this in your config to get spell checker
array('SpellChecker', 'Scayt')
Auto Spellchecker
/extension/vendors/CKEditor/config.js
config.scayt_autoStartup = true;
Auto spell checker.
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; ** config.scayt_autoStartup = true;** };
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.