Need input on what rich text editors you all might like in a block other than TinyMCE.
Permalink
I am putting the finishing touches on a block I am creating and hope to make available through the Marketplace here.
It presently uses a rich text editor called CLEditor which is much better in my opinion for my end clients than the behemoth that TinyMCE is by comparison.
Anyway I will be adding additional editors to this block through templates for it (where other editors can be chosen by simply choosing a different template for the block) and was just wondering if you all could give me the names of some additional editors you might like to see such a block have?
I thought of included CKEditor but their licensing doesn't seem to allow me to include their editor in my block I don't think (please correct me if I am wrong). It's licensed GPL, LGPL, and MPL. I am hoping to find some other MIT licensed editors like CLEditor is.
I will be making some modifications to these editors and don't want to have to hassle with distributing those modifications under GPL and similar licensing terms (though I confess a lack of knowledge as to what exactly my obligations are under the various licenses so I could use some help there too if anyone has any thoughts).
The goal with my block is to make it easier on the end client to edit text. Without the various unnecessary and confusing options that TinyMCE presents them.
Also...let me know what you all think...but I am also inclined to make the HTML that is produced by these editors be well formatted HTML that I can read! Not the gibberish that is usually what one sees through a code view button in the editor...where all the newlines and such are removed.
Thanks.
Carlos
It presently uses a rich text editor called CLEditor which is much better in my opinion for my end clients than the behemoth that TinyMCE is by comparison.
Anyway I will be adding additional editors to this block through templates for it (where other editors can be chosen by simply choosing a different template for the block) and was just wondering if you all could give me the names of some additional editors you might like to see such a block have?
I thought of included CKEditor but their licensing doesn't seem to allow me to include their editor in my block I don't think (please correct me if I am wrong). It's licensed GPL, LGPL, and MPL. I am hoping to find some other MIT licensed editors like CLEditor is.
I will be making some modifications to these editors and don't want to have to hassle with distributing those modifications under GPL and similar licensing terms (though I confess a lack of knowledge as to what exactly my obligations are under the various licenses so I could use some help there too if anyone has any thoughts).
The goal with my block is to make it easier on the end client to edit text. Without the various unnecessary and confusing options that TinyMCE presents them.
Also...let me know what you all think...but I am also inclined to make the HTML that is produced by these editors be well formatted HTML that I can read! Not the gibberish that is usually what one sees through a code view button in the editor...where all the newlines and such are removed.
Thanks.
Carlos
The YU3 Editor from Yahoo might be another nice one to try (http://developer.yahoo.com/yui/editor/).
It's licensed under the BSD licence (http://yuilibrary.com/license/).
Anyone know if code licensed under BSD is compatible with that which might be required for inclusion into a block for Concrete5?
Carlos
It's licensed under the BSD licence (http://yuilibrary.com/license/).
Anyone know if code licensed under BSD is compatible with that which might be required for inclusion into a block for Concrete5?
Carlos
Since you seem to be looking for MIT type license here is a simple editor, but its Mootools based
https://github.com/cheeaun/mooeditable/...
-->https://github.com/cheeaun/mooeditable/blob/master/LICENSE...
Here is also not a bad one Dojo Toolkit based under BSD
http://dojotoolkit.org/reference-guide/dijit/Editor.html...
-->http://dojotoolkit.org/license
Here is one more MIT based editor jQuery based
-->http://markitup.jaysalvat.com/home/
Hope that helped out
https://github.com/cheeaun/mooeditable/...
-->https://github.com/cheeaun/mooeditable/blob/master/LICENSE...
Here is also not a bad one Dojo Toolkit based under BSD
http://dojotoolkit.org/reference-guide/dijit/Editor.html...
-->http://dojotoolkit.org/license
Here is one more MIT based editor jQuery based
-->http://markitup.jaysalvat.com/home/
Hope that helped out
Thanks Yukimura. I'll look at those but I think I am just going to stick to one's that are straight Javascript or that use JQuery anyway for now.
Unfortunately I am bumping into an absolute brick wall in that it seems impossible for me to do what I had in mind through block templates. It seems that templates are just for how the block looks in the view.php file.
Such that I can't change the edit.php behaviour through a template it would seem.
Still investigating this but I think I am going to have to stick to making one block per different editor (if I want to create a bunch of different editors I mean...otherwise I'll stick to using CLEditor as it seems more than enough for what I need).
Carlos
Unfortunately I am bumping into an absolute brick wall in that it seems impossible for me to do what I had in mind through block templates. It seems that templates are just for how the block looks in the view.php file.
Such that I can't change the edit.php behaviour through a template it would seem.
Still investigating this but I think I am going to have to stick to making one block per different editor (if I want to create a bunch of different editors I mean...otherwise I'll stick to using CLEditor as it seems more than enough for what I need).
Carlos
I've used jwysiwyg a few times for this. jQuery based - not sure about the license though.
You're right that you can't use templates for the switch. These are just for front end use. I would suggest a simple drop down on the page that uses jQuery to dynamically switch out the editor. This would be much nicer for end users trying to compare and tryout different editors. They wouldn't have to keep going back to the main page, changing template etc.. If you wanted to be really clever, you could also store the selected template against the users uID in a separate table to ensure that each user always gets their preferred editor...
Jon
You're right that you can't use templates for the switch. These are just for front end use. I would suggest a simple drop down on the page that uses jQuery to dynamically switch out the editor. This would be much nicer for end users trying to compare and tryout different editors. They wouldn't have to keep going back to the main page, changing template etc.. If you wanted to be really clever, you could also store the selected template against the users uID in a separate table to ensure that each user always gets their preferred editor...
Jon
Hi Jon,
Hmm...interesting. I hadn't thought about doing it that way Jon.
I mean using Javascript to dynamically change the editor somehow.
Hmm...not sure how I would do that but I will have to look into that.
I like the idea of a content block that allows one to try different editors until they settle on one they like. That was pretty much what I had in mind.
I think I will just contribute a block with just one editor to get things moving for now.
That will allow me to get a better feel for the process involved in contributing something to the Marketplace.
Hopefully I can update a block in the Marketplace to a more powerful block at some point down the road when I figure out how to dynamically do the kind of thing you are talking about.
Thanks for the input.
Carlos
Hmm...interesting. I hadn't thought about doing it that way Jon.
I mean using Javascript to dynamically change the editor somehow.
Hmm...not sure how I would do that but I will have to look into that.
I like the idea of a content block that allows one to try different editors until they settle on one they like. That was pretty much what I had in mind.
I think I will just contribute a block with just one editor to get things moving for now.
That will allow me to get a better feel for the process involved in contributing something to the Marketplace.
Hopefully I can update a block in the Marketplace to a more powerful block at some point down the road when I figure out how to dynamically do the kind of thing you are talking about.
Thanks for the input.
Carlos
It's called WYMeditor (http://www.wymeditor.org/).
Still looking for others.
Carlos