Added bbcode [wsm] and [wsmg]
authorAlexander Ebert <ebert@woltlab.com>
Wed, 6 Jul 2016 13:41:31 +0000 (15:41 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 6 Jul 2016 13:41:31 +0000 (15:41 +0200)
com.woltlab.wcf/bbcode.xml

index 5518e773f2880fa887b2da953d6dec1f73420a01..a24543e7c951fb735a97ce3a85ddca48b348ebfc 100644 (file)
                                </attribute>
                        </attributes>
                </bbcode>
+               
+               <bbcode name="wsm">
+                       <classname><![CDATA[wcf\system\bbcode\WoltLabSuiteMediaBBCode]]></classname>
+                       <isBlockElement>1</isBlockElement>
+                       <attributes>
+                               <attribute name="0">
+                                       <validationpattern>^\d+$</validationpattern>
+                                       <required>1</required>
+                                       <usetext>1</usetext>
+                               </attribute>
+                               <attribute name="1">
+                                       <validationpattern>^(small|medium|large|original)$</validationpattern>
+                               </attribute>
+                               <attribute name="2">
+                                       <validationpattern>^(left|right|none)$</validationpattern>
+                               </attribute>
+                       </attributes>
+               </bbcode>
+               
+               <bbcode name="wsmg">
+                       <classname><![CDATA[wcf\system\bbcode\WoltLabSuiteMediaGalleryBBCode]]></classname>
+                       <attributes>
+                               <attribute name="0">
+                                       <validationpattern>^\d+(,\d+)*$</validationpattern>
+                                       <required>1</required>
+                                       <usetext>1</usetext>
+                               </attribute>
+                       </attributes>
+               </bbcode>
        </import>
 </data>