Disabled editor components were being loaded
authorAlexander Ebert <ebert@woltlab.com>
Mon, 9 Jan 2017 10:46:57 +0000 (11:46 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 9 Jan 2017 10:46:57 +0000 (11:46 +0100)
com.woltlab.wcf/templates/wysiwyg.tpl
wcfsetup/install/files/acp/templates/wysiwyg.tpl

index 5b91b76e1ba238a571de4ec7e5a678bb9852f7ae..c0f187b7ec263f2cbbd0ab3a369c283553f0cd87 100644 (file)
                                        'WoltLabCaret',
                                        'WoltLabClean',
                                        'WoltLabCode',
-                                       'WoltLabColor',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('color')}'WoltLabColor',{/if}
                                        'WoltLabDragAndDrop',
                                        'WoltLabDropdown',
-                                       'WoltLabFont',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('font')}'WoltLabFont',{/if}
                                        'WoltLabFullscreen',
-                                       'WoltLabImage',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('img')}'WoltLabImage',{/if}
                                        'WoltLabInlineCode',
                                        'WoltLabInsert',
-                                       'WoltLabLink',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('url')}'WoltLabLink',{/if}
                                        'WoltLabModal',
                                        'WoltLabObserve',
                                        'WoltLabPaste',
                                        'WoltLabQuote',
                                        'WoltLabReply',
-                                       'WoltLabSize',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('size')}'WoltLabSize',{/if}
                                        'WoltLabSmiley',
                                        'WoltLabSource',
                                        'WoltLabSpoiler',
index 5b91b76e1ba238a571de4ec7e5a678bb9852f7ae..c0f187b7ec263f2cbbd0ab3a369c283553f0cd87 100644 (file)
                                        'WoltLabCaret',
                                        'WoltLabClean',
                                        'WoltLabCode',
-                                       'WoltLabColor',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('color')}'WoltLabColor',{/if}
                                        'WoltLabDragAndDrop',
                                        'WoltLabDropdown',
-                                       'WoltLabFont',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('font')}'WoltLabFont',{/if}
                                        'WoltLabFullscreen',
-                                       'WoltLabImage',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('img')}'WoltLabImage',{/if}
                                        'WoltLabInlineCode',
                                        'WoltLabInsert',
-                                       'WoltLabLink',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('url')}'WoltLabLink',{/if}
                                        'WoltLabModal',
                                        'WoltLabObserve',
                                        'WoltLabPaste',
                                        'WoltLabQuote',
                                        'WoltLabReply',
-                                       'WoltLabSize',
+                                       {if $__wcf->getBBCodeHandler()->isAvailableBBCode('size')}'WoltLabSize',{/if}
                                        'WoltLabSmiley',
                                        'WoltLabSource',
                                        'WoltLabSpoiler',