Jay Salvat wrote:
Due to the multitude of existing Tag set, i have no idea to how to
easily implement an universal preview or wysiwyg mode.
For the moment, the only way to preview is the "green tick" button
which open a preview window. You can post the content of the editor in
your own php (or wathever you want) parser.
Could the content be easily posted by ajax to an iframe I could write it
out over the top of the editor perhaps? I think that's how the other
ones do it but don't quote me on that. Loving the plugin by the way, I
know some of the extra features it'd be great to have have already been
touched on so would it be possible to document a means of extending the
plugin via modules? File upload hooks and WYSIWYG are what I really need
to make use of this in my company's cms. It'd be 100% jQuery then =]
I have an idea for doing WYSIWYG that could be relatively
straightforward to implement but I need to look into how to check
whether the caret is at the beginning or end of an element. Anyone know
some good links/examples for dealing with text nodes?
Cheers,Rob