views:

124

answers:

3

I now use CLEditor, but I cannot style it like the rest of the page. So is there a jQuery UI WYSIWYG text editor? Or is there a way to style CLEditor with jQuery UI widget elements?

+2  A: 

The CLEditor UI can be styled using the jquery.cleditor.css file. The editor's internal document can also be styled using the docCSSFile and bodyStyle optional parameter properties.

Chris Landowski
that's right, but jQuery UI uses classes to style elements, so I had to give some elements specific classes, which is not (really) possible. It would be better if there was a built-in jQuery UI WYSIWYG editor...
elektronikLexikon
Perhaps this is what you are looking for: http://elrte.org/
Chris Landowski
A: 

I like CLEditor more than elrte.org, so I had to edit the code. Not the best solution, but the best-looking...

elektronikLexikon
+1  A: 

It's not exactly light-weight but CKEditor has an interface to Jquery that can be enabled by using an adaptor js file. I am using it in my current project and no pain in the basic mode.

Cyril Gupta
It has an interface to jQuery, but cannot be styled like a jQuery UI widget. Or are there more skins that add jQuery UI classes (like "ui-state-default" or "ui-widget-header")?
elektronikLexikon