1
deka87
Newbb - how do I change the default editor
  • 2012/7/2 10:36

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Hi,

In Newbb module when posting a new topic there is a list of editors I can choose from. Is there any way to change the default editor which is dhtml standard editor?

Thanks
Mind anchors

2
irmtfan
Re: Newbb - how do I change the default editor
  • 2012/7/2 11:00

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Yes

in newbb/include/plugin.php
change:

// Set the default editor
$customConfig["editor_default"] = "dhtmltextarea";

with:

// Set the default editor
$customConfig["editor_default"] = "tinymce";


It is good to move these options to module preferences to avoid confusing.


3
deka87
Re: Newbb - how do I change the default editor
  • 2012/7/2 11:29

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Thanks, irmtfan! Turned out to be very easy
Mind anchors

Login

Who's Online

366 user(s) are online (244 user(s) are browsing Support Forums)


Members: 0


Guests: 366


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits