MyBB Community Forums

Full Version: [F] Warning System Editor [Fix Provided]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Not sure if this is a bug, or a theme-related issue. However I have a theme in which I changed the editor style to a custom one, however when you view the editor on warn.php, the editor uses the default styling. o.O

Edit: Yes, it is a styling issue, for the theme section isn't even included in the editor javascript for the theme specification.


Fix:

Open template warnings_warn_pm

Find:
clickableEditor = new messageEditor("message", {lang: editor_language, rtl: 0});

Replace with:
clickableEditor = new messageEditor("message", {lang: editor_language, rtl: {$lang->settings['rtl']}, theme: "{$theme['editortheme']}"});
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.