wysiwyg text editor questions
Posted: Tue Mar 18, 2008 9:25 am
I am trying to create a wysiwyg editor, however I need to do the things below:
When a button is pressed then it inserts a <something> tag at the caret position.
When a button labeled "URL" is pressed, then it pops up a window to set the url and the title of the hyperlink to be inserted.
Then it inserts a <a href="http://www.google.com">Google!</a> tag at the caret position.
Last but not least, how can I make it so that the user sees/edits the formatted text and not the source?
I have tried using tinymce but too much file chaos and can't organise it in my folders as I want it.
When a button is pressed then it inserts a <something> tag at the caret position.
When a button labeled "URL" is pressed, then it pops up a window to set the url and the title of the hyperlink to be inserted.
Then it inserts a <a href="http://www.google.com">Google!</a> tag at the caret position.
Last but not least, how can I make it so that the user sees/edits the formatted text and not the source?
I have tried using tinymce but too much file chaos and can't organise it in my folders as I want it.