Thursday 10 August 2006 3:51:39 am
Add to content.ini:
[embed]
AvailableClasses[]=imageright
This will solve the problem. It was just a bug of previous versions that presence of the class in this list was not checked. Concerning wrong error message (no tag name) this was also a little bug, fixed recently. Patch:
Modified: kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php
===================================================================
--- kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php 2006-08-01 09:26:10 UTC (rev 16565)
+++ kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php 2006-08-01 09:57:43 UTC (rev 16566)
@@ -549,7 +549,7 @@
{
$this->isInputValid = false;
if ( $this->errorLevel >= 2 )
- $this->Messages[] = ezi18n( 'kernel/classes/datatypes/ezxmltext', "Class '%1' is not allowed for element <%2> (check content.ini).", false, array( $value, $newTagName ) );
+ $this->Messages[] = ezi18n( 'kernel/classes/datatypes/ezxmltext', "Class '%1' is not allowed for element <%2> (check content.ini).", false, array( $value, $element->nodeName ) );
continue;
}
}
|