itcy, xinha is trying to put any and all features in it, including a toilet cleaner. I used it more thana year back and it is still not anywhere near stable, cause the developer keeps adding new stuff in it. Milesone 1.0 is only 78% done, then we will have the beta and RC rounds and god knows when it will be released in a stable form.
One problem with all these editors is that they are generic, having it seemlessly integrate with vanilla will be easy for all features except when u start using server side features. like uploading images to your server securely. that is going to be a big pain.
thoma heath u should change ur ff gestures. :)
In the end it all boils down to the fact whether it generates the correct Xhtml code and doesn't loose my content. Dojo can do that.
Try http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=175.
It is a quick and basic integration of the Dojo editor. Like you will see there is some work to do on widget template I think.
nb: I am using kses for validation, so you can't use the style attribue.
man dino, you've got a weird way of indenting code
do you think it would be a better idea to recommend installing dojo to the global forum/js/ folder instead of the extension folder? that way if someone else builds an extension based on dojo, there won't be two copies?
also here are nice looking replacements for those ugly Bold, Italic, etc. icons (extract to the extensions/DojoEditor/library/dojo-0.3.1-widget/src/widget/templates/buttons folder)
these are the ones they have on the dojo demo site.
itchy thanks, Apparently the dojo version 0.3 by default uses those ugly buttons.
dojo 0.2 uses the cool ones. the demo u saw earlier was for dojo 0.2. plus dojo is actually working on Editor2, its experimental for now
plus i got FCK editor working on my test forum. it does show the toolbar. the code it generates is buggy though.
really? i just today finished a 130-page site using fckeditor for the content on each page and they all passed validation. maybe i'm just not trying hard enough to break it
i meant the code like <strong>Srong text</strong> generated by fckeditor ins't rendering as bold text inside vanilla. Vanilla is outputting it as just plain text.
yeah got it working now. here is the screenshot TODO make custom config files so the original fckeditor files are not touched remove advanced features, don't want people to muck up their forums make a plugin out of it *gulp*
nice work! just one thing... in default.php, you are using hardcoded paths. you need to use oFCKeditor.BasePath = "' . $Configuration['WEB_ROOT'] . 'js/FCKeditor/" ;
oFCKeditor.Config["CustomConfigurationsPath"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/vanillaconfig.js"; instead. my forum isn't located in /vanilla other than that, great job!
OK fixed and new version uploaded
Is it working nicely, any bugs so far.
PLus care to rate the extension.
one more thing, Any idea on how to create an admin part to the extension.
What I want is a list of radio buttons, on what features u want in the toolbar. Just select the buttons and save it and those features will be added to the toolbar.
yeah, that can be done. i made a couple of other fixes to the code - added a stylesheet to the editor area so that the comments box looks like it will really look on the page, removed the full screen preview button, and hid the "big input" button.
i uploaded it to here if you want to play with it or include the mods in your addon.
Comments
do you think it would be a better idea to recommend installing dojo to the global forum/js/ folder instead of the extension folder? that way if someone else builds an extension based on dojo, there won't be two copies?
(extract to the extensions/DojoEditor/library/dojo-0.3.1-widget/src/widget/templates/buttons folder)
these are the ones they have on the dojo demo site.
here is the screenshot
TODO
make custom config files so the original fckeditor files are not touched
remove advanced features, don't want people to muck up their forums
make a plugin out of it *gulp*
ps: I made a mistake in my previous post. I should have say:
"nb: I am using kses for validation, so you can't use the style attribue."
Spaw looks interesting too.
@itchy: the url to the icons above is broken.
oFCKeditor.BasePath = "' . $Configuration['WEB_ROOT'] . 'js/FCKeditor/" ; oFCKeditor.Config["CustomConfigurationsPath"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/vanillaconfig.js";
instead. my forum isn't located in /vanillaother than that, great job!
i made a couple of other fixes to the code - added a stylesheet to the editor area so that the comments box looks like it will really look on the page, removed the full screen preview button, and hid the "big input" button.
i uploaded it to here if you want to play with it or include the mods in your addon.