Rich text editor in text area
Rich text editor in text area
Hi,
I've tried to include CKeditor in the editor plug in when editing a form with the "fnDrawCallback" and "onInitComplete" method but i feel it's not the rigth way to do.
[code]
editor = new $.fn.dataTable.Editor ( {
...
"onInitComplete" : function () {
$( '#DTE_Field_contenu' ).ckeditor();
}
});
[/code]
[code]
$('#example').dataTable( {
"fnDrawCallback" : function () {
$( '#DTE_Field_contenu' ).ckeditor();
}
});
[/code]
thx for help.
I've tried to include CKeditor in the editor plug in when editing a form with the "fnDrawCallback" and "onInitComplete" method but i feel it's not the rigth way to do.
[code]
editor = new $.fn.dataTable.Editor ( {
...
"onInitComplete" : function () {
$( '#DTE_Field_contenu' ).ckeditor();
}
});
[/code]
[code]
$('#example').dataTable( {
"fnDrawCallback" : function () {
$( '#DTE_Field_contenu' ).ckeditor();
}
});
[/code]
thx for help.
This discussion has been closed.
Replies
Yes indeed this is possible - it can be done as a field type plug-in for Editor. I've been working on that and a markdown plug-in recently and will be able to release them soon.
Can you confirm for me which DataTables account your Editor license is being used under. I see your own trial version expired almost a month ago, and if you can let me know which account you are using Editor under I'll update our records.
Thanks,
Allan
Thanks for kind words, but I'm afraid that personal use still requires a license for Editor. Unlike DataTables, Editor is not open source software.
If you find Editor useful and would like to continue using it, a license is required - but the good news is that the download package for the fully licensed version of Editor has free updates for 1.x, online and offline documentation, the PHP Join class and various other items not in the trial package. Plus you'll be supporting continued development of the whole DataTables project.
Regards,
Allan