Being able to benefit from javascript frameworks within FCKeditor would be nice. But with everyone having his favorite one it should be possible to use multiple frameworks without having them collide with each other, or with the FCKeditor itself.
Perhaps this can be done by running each one in its iFrame and providing Objects through which each framework its method can be used? So developers could add and use their favorite framework with for example:
myFramwork = implementFramework('framework.js'); myFramework.$('something');
Re: Javascript frameworks within FCKeditor
Also, some frameworks extend native objects as one of their features. The isolation would also be a problem for them.
The slickspeed test tool doesn't offer much help on this. It doesn't do any magic. To run it, you need to implement "framework specification files" which tells how to use the selectors for each specific framework.
What I see instead is something that, on its base, is similar to that approach. I see plugins create for specific frameworks that help on integrating then in the editor code with no complications. Of course those things would be needed only for those frameworks that could cause problems.
Hopefully V3 will be done in a way that collisions would be avoided and that problems with other libraries will be rare.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn