Richard Frovarp wrote:
Jürgen Ragaller wrote:
However, when I save the document with the included image, I get
a bunch of error messages:
Usecase messages for "tinymce.edit":
* error: attribute "border" not allowed at this point; ignored
* error: required attributes missing
* error: attribute "border" not allowed at this point; ignored
* error: required attributes missing
* error: required attributes missing
It gets a bit better, when the xhtml-schema is changed to strict
(from xhtml-basic.rng); but this breaks bitflux - so it's either
bitflux or tiny.
The tinymce field «image description» always has to be entered
manually - it is used for the alt-Tag.
The values from the lenya asset windows are not transfered to the
tinymce insert/edit image dialogue (Title, width and height should be
transfered).
As soon as the radio button on the lenya asset screen (accessed via
tinymce) is clicked, a javascript error occurs:
***********
document.forms.image.height has no properties (insertAsset.js, line 59)
***********
maybe the not-complete transfer is related to the above error?
Yes, those two errors are sort of related. The select image display is
copied from either BXE or FCKeditor (which is actually copied from
BXE). They pass the width and height of the image into their form so
to pass onto the editor. Tiny's Lenya form doesn't even have those
fields. This is why you're getting the javascript error.
The saving error is due to the fact that an alt tag isn't being set,
as that value (caption) is not being passed into the editor either. I
think I should be able to figure it out easily enough.
TinyMCE support is experimental at this point.
Richard
So it turns out to be a bit more work than I thought. I should be able
to work it out Monday.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]