1
hipoonios
Strange bug with editors
  • 2012/9/7 18:22

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


I can not stand the default editor anymore (Dhtml editor) So I decided to use TinyMCE.

It works. But if i click preview button then Xoops switch to the plain text editor. Then there is no way to get back to TinyMCE again since TinyMCE is not visible in the editor list.

I have set the editor to TinyMCE in modules preferences. And also set the default editor in newbb/include/plugin.php.

I have also tried to update the system module and forum module. But it doesn't help.

Any suggestions?

Maybe this is a bug? Since it happens on both of my sites.

Using:
Xoops 2.5.5
Newbb/Cbb 3.08

2
hipoonios
Re: Strange bug with editors
  • 2012/9/7 21:00

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


Solved it.

There is a file in xoops_data/caches/xoops_cache/_editorlist

1378607743
return array (
  
'textarea' => 
  array (
    
'title' => 'Plain Text',
    
'nohtml' => 1,
  ),
  
'dhtmltextarea' => 
  array (
    
'title' => 'DHTML Form with xCode',
    
'nohtml' => 1,
  ),
  
'tinymce' => 
  array (
    
'title' => 'TinyMCE',
    
'nohtml' => 0,
  ),
);

Changed nohtml to 1 for TinyMCE.

Now, I don't know if i want to use this editor. Isn't it a high security risk to allow your users to post html?

3
Anonymous
Re: Strange bug with editors
  • 2012/9/9 15:38

  • Anonymous

  • Posts: 0

  • Since:


Why use TinyMCE for forum updates? The good old Dhtml editor gives your visitors just the options you want them to have, no more no less... Changing preferences in cache is also not the way to go, as soon as the cached file is refreshed your new settings are gone.

4
hipoonios
Re: Strange bug with editors
  • 2012/9/9 16:11

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


The Dhtml editor is old and outdated. Sure it has just the options I need. It just needs little polishing.

And I don't like how it outputs code. For example if you insert a smiley. Then you will see the code and not the image in the editor.

Login

Who's Online

217 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

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

Latest GitHub Commits