-
1. Re: Wysiwyg editor for Seam Text?
gavin.king Feb 12, 2007 8:59 AM (in response to stephen.friedrich)One thing that would be really easy to do is use Ajax4JSF to give you a "live" preview as you type...
-
2. Re: Wysiwyg editor for Seam Text?
dilator Feb 12, 2007 7:13 PM (in response to stephen.friedrich)Hi there, I use TinyMCE http://tinymce.moxiecode.com, its very easy to use, but also very customisable.
e.g.<script type="text/javascript" src="/js/tiny_mce/tiny_mce.js"></script> <style type="text/css"> .richEditor { min-height: 350px; width: 610px; } </style> <script type="text/javascript"> tinyMCE.init({ mode: "textareas", theme: "advanced", table_inline_editing: true, editor_selector: "richEditor", plugins: "contextmenu,table,paste,", theme_advanced_statusbar_location: "bottom", theme_advanced_resizing: true, theme_advanced_resize_horizontal: false, theme_advanced_toolbar_location: "top" }); </script> <h:inputTextarea id="rich" value="#{editor.content}" styleClass="richEditor"/>
Will give you an advance wysiwyg editor.
Enjoy :)
p.s. I also wrote an A4J enabled custom file browser too if any one is interested! -
3. Re: Wysiwyg editor for Seam Text?
supernovasoftware.com Feb 21, 2007 12:01 AM (in response to stephen.friedrich)Thanks for the tip. It would be great if you could post something on the wiki like the Ajax4JSF file browser.
-
4. Re: Wysiwyg editor for Seam Text?
fady.matar Mar 12, 2007 12:03 PM (in response to stephen.friedrich)I have integrated the component and the data is always null. I cannot save anything in the database. I'm clueless in debugging this issue. Can anyone help?
-
5. Re: Wysiwyg editor for Seam Text?
svadu Mar 12, 2007 4:35 PM (in response to stephen.friedrich)You may have a better luck with dojo editor, however in any case the formatted text does not accept all html tags and for those it does, it does not accept all the attributes. so the 'wysiwyg' wont be exactly "what you get'. Imho, the idea of wiki text is to get rid of 'complex' html sintax so that ti wont be messed up with content maintained by large number of people (i.e. a community)... but that's just my 2c...
-
6. Re: Wysiwyg editor for Seam Text?
gavin.king Mar 12, 2007 5:35 PM (in response to stephen.friedrich)The best approach is a preview panel that is updated interactively by Ajax4JSF.