I finally got round to finishing wym editor filter. If you haven’t heard
of
WYM before, it beats the crap out of most RTE’s qua keeping your content
w3c
valid. I quote;
“WYMeditor has been created to generate perfectly structured XHTML
strict
code, to conform to the W3C XHTML specifications and to facilitate
further
processing by modern applications.”
This extension uses (requires) the shards extension
Available from
svn://zuurstof.openminds.be/home/kaizer/svn/rails_stuff/radiant_extensions/wym_editor_filter
Excellent work. I just installed the extension fine and enjoying
playing
around with it. One question though. Your website mentions that you
“… use WYM in combination with page attachments. This gives us the
luxury of drag-and-drop image inserting, clients totally dig it!”
I tried to see if I could perform the ‘drag-and-drop image inserting’,
but
have no success. I am logging into the Radiant administrative interface
from a Linux OS and I have the page attachments installed as well.
Any further tips will be much appreciated. Thanks once again for this
great exte
nsion.
Things seem to be working well for basic editing, however…
Adding Radius tags seems to be allowed only in the code view, and
editing these tags is difficult because WYMeditor adds a custom
tag
to support tags appearing in the editor window.
Page_Attachments drag-and-drop doesn’t work at all for me, with either
images or other file types. I’m not sure what is supposed to happen when
both Page_Attachments and WYMeditor are installed together, but so far
nothing is different about using Page_Attachments.
Page_Attachments drag-and-drop doesn’t work at all for me, with either
images or other file types. I’m not sure what is supposed to happen when
both Page_Attachments and WYMeditor are installed together, but so far
nothing is different about using Page_Attachments.
So the developer says “This gives us the luxury of drag-and-drop image
inserting”. I’m not using the ruby gems that allow for thumbnail
generation, so maybe this will work for people who are seeing image
thumbnails…?
The developer never says anything about other file attachment types, so
I guess those don’t drag-and-drop either.
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 Parked at Loopia 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.
The developer never says anything about other file attachment types, so
I guess those don’t drag-and-drop either.
And then it hit me. WYMeditor has buttons for adding links and images,
so if I simply show a link next to each file, the user can right-click +
copy the link and paste it into the appropriate WYMeditor pop-up.
In page_attachments/app/views/admin/page/_attachment.rhtml add after
line 7…
i answered this to somebody else via regular email, should’ve copied it
to the list…
Thanks for the info, Benny. Most of my clients are IE users (with little
I can do to change that), so I may not be able to use this drag+drop
magic afterall, but I’ll check out the Pastie regardless.
I’ve been playing with WYMeditor throughout the day and must say I
really like it. Thanks for all your hard work in bringing it to Radiant.
I can see my clients really liking it.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.