[Radiant] [ANN] WYMeditor filter
Benny Degezelle
benny at gorilla-webdesign.be
Wed Jan 30 17:12:22 CST 2008
woops..
i answered this to somebody else via regular email, should've copied it
to the list..
The 'catch' is that you first have to activate a container in WYM by
clicking it, so you get the blinking cursor in there. Now you should be
able to drop images to it. Beware; any html attributes that were given
to the page_attachment thumbnail will also be copied to the wym one.
As for non-image drag & dropping, it works, but not on IE, and you need
a little tweaking. see http://pastie.caboo.se/145546 for our
_attachment.rhtml.
You'll need to finish a bit to your likings, but i'm sure the pastie
explains everything. The point is that you need a link to drag and drop
into wym.
IE doesn't allow you to d&d files because it doesn't allow to paste
links into wym. That's what you do when you d&d a file; you again copy
the image (file icon) and the <a> tags that it has around it to the
editor. You can then start typing the link text, and leave or delete the
icon image.
> Adding Radius tags seems to be allowed only in the code view, and
> editing these tags is difficult because WYMeditor adds a custom <hr> tag
> to support tags appearing in the editor window.
Indeed, you can't really insert radius through wym. When a page needs
radius, i switch it back to <none> filter. If the page is mostly radius,
i leave it like that, if it's a page that the end user might want to
edit, i put it back to wym.
WYM doesn't work on safari indeed, but we don't see that as a problem.
If we would have any clients on safari, i wouldn't mind suggesting they
switch to firefox. It's still a back-end after all, and wym can be a
great help to keep the front-end accessible for all browsers.
hope that clears things up a bit..
rgrds,
Benny
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list