Customizing SMF > Modifications and Packages
WYSIWYG Quick Reply
X3mE:
Thank you very much for the mod! I've been waiting for an enhanced quick reply for a very long time!
Just one question - I want the default view to be non-WYSIWYG. What must I edit to achieve that?
Edit: Never mind, found it. I commented the following two lines in Sources/Display.php:
--- Quote --- // To avoid intefering with the wysiwyg for post - we temporarily override the setting, THEN, restore it after we've written the wysiwyg
//$context['controls']['richedit']['message']['rich_active_original'] = !empty($context['controls']['richedit']['message']['rich_active']) ? 1 : 0 ;
// Active
//$context['controls']['richedit']['message']['rich_active'] = in_array($options['wysiwyg_quick_reply'], array(0, 1, 2, 3)) ? 1 : 0 ;
// End of WYSIWYG Quick Reply
--- End quote ---
karlbenson:
Thx everyone.
X3mE, you can change the default settings INSIDE smf.
o Per user configurable option (set via Profile > Look and Layout)
o Forum-Wide default settable (set via Admin > Current Theme > Member Options)
I'd recommend uncommenting those lines (as you'll need them if people WANT to be able to have full wysiwyg)
Nathaniel:
It works well, but I don't think that its compatible with the Ajax quick reply mod.
shadow82x:
Good work. Nice job.:)
karlbenson:
I just updated the customize page and front topic (as I didn't include it by default).
Yes there is an issue with Ajax Instant Quick Reply. (it doesn't hide the wysiwyg on posting)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version