Hi nochmal...
Das Problem aus Beispiel 1 habe ich jetzt mit dem Hinzufügen des Code
gelöst.Code:styles.content.links.allowTags=address,cite,b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6
Problem ist also jetzt noch die Tatsache, dass wenn ich im RTE eine Liste hinzufüge der generierte Code nicht valide ist. Ich habe ein wenig herumexperimentiert und festgestellt, dass dieses Problem bei sämtlichen Block-Elementen auftaucht. Der Fehler ist immer folgender:
Line 35, Column 50: document type does not allow element "h1" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
<a id="c27"></a><p style="margin:0 0 0 0;"><h1>Überschrift</h1>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").




LinkBack URL
About LinkBacks
Zitieren
Lesezeichen