lang: '{@$__wcf->getLanguage()->getFixedLanguageCode()}',
maxHeight: 500,
minHeight: 200,
- plugins: [ 'wutil', 'wmonkeypatch', 'table', 'wbutton', 'wbbcode', 'wfontcolor', 'wfontfamily', 'wfontsize' ],
+ plugins: [ 'wutil', 'wmonkeypatch', 'wbutton', 'wbbcode', 'wfontcolor', 'wfontfamily', 'wfontsize' ],
removeEmpty: false,
replaceDivs: false,
source: true,
}
};
+ {if $__wcf->getBBCodeHandler()->isAvailableBBCode('table')}
+ $config.plugins.splice(2, 0, 'table');
+ {/if}
+
if ($.browser.iOS) {
// using a zero-width space breaks iOS' detection of the start of a sentence, causing the first word to be lowercased
$config.emptyHtml = '<p><br></p>';