diff --git a/eZ/Publish/Core/FieldType/XmlText/Schema.php b/eZ/Publish/Core/FieldType/XmlText/Schema.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/FieldType/XmlText/Schema.php
+++ b/eZ/Publish/Core/FieldType/XmlText/Schema.php
@@ -238,12 +238,17 @@ class Schema
     /**
      * Determines if the tag is inline
      *
-     * @param \DOMNode|\DOMElement $element
+     * @param \DOMNode|\DOMElement|string $element
      *
      * @return bool
      */
-    public function isInline( DOMNode $element )
+    public function isInline( $element )
     {
+        if ( is_string( $element ) )
+        {
+            return $this->schema[$element]['isInline'];
+        }
+
         // Use specific custom tag setting if set
         if ( $element->nodeName === 'custom' && $element instanceof DOMElement )
         {
Fixed: isInline() not working with string while still used