Converting HTML editor to text editor
Despite all trials to convert Mini and full HTML editor to "no editor" to avoid user from pasting formatted texts from other documents, I couldn't change the mini editor at the comment section below any post!!
I checked all possibilities in:
/studio/module.php?name=bx_developer&page=forms > Display > Add/ edit posts, post, review, comments.
Any idea?
-
- · Jeremy
- ·
Are you wanting to eliminate it from the timeline?
-
- · Rateb
-
·
In reply to Jeremy
- ·
I want to keep it, but without formatting options, text only.
-
-
·
Alex T⚜️
- ·
In comments it need to be changed in different place, for example to enable plain editor in Discussions comments run the following query:
UPDATE `sys_objects_cmts` SET `Html` = '0' WHERE `Name` = 'bx_forum';
-
·
Alex T⚜️
-
- · Rateb
- ·
Thank you very much. I'll try it.
-
- · Rateb
-
·
In reply to Alex T⚜️
- ·
Sorry, but didn't know where to add this query exactly! in which file?
-
- · Jeremy
-
·
In reply to Rateb
- ·
You need to login to your host and open up phpMyAdmin and click on the database to your site and then click on SQL tab, then paste that command into the box on line 1 (remove what may be there on line 1 already) and execute that command by clicking GO
-
- · Rateb
- ·
Dear Jeremy & Alex,
Appreciate your support, but it didn't work even after changing the HTML to "0".
Thanks
-
-
·
LeonidS
-
·
In reply to Rateb
- ·
Hello Rateb !
You need also to clear all caches in Studio->Dashboard->Cache area.
-
·
LeonidS
-
- · Jeyner Gil
-
·
In reply to Rateb
- ·
Dear Jeremy & Alex,
Appreciate your support, but it didn't work even after changing the HTML to "0".
Thanks
I also tried. But same thing, did not work. Any other ways to change (remove) the editor and just make it textarea? Seem like this is only applicable for "Comments"
-
- · Jeyner Gil
- ·
Thanks Alex T and LeonidS.
It works:
UPDATE sys_objects_cmts SET Html='0' WHERE Name='bx_timeline';
UPDATE sys_objects_cmts SET Html='0' WHERE Name='bx_forum';
UPDATE sys_objects_cmts SET Html='0' WHERE Name='bx_posts';
Clear DB cache and All other caches.
If not working, try to logout and login again. (Maybe this has something to do with my browser)
-
- · Rateb
-
·
In reply to Jeyner Gil
- ·
Finally it worked, but when you comment on ADs or events in the timeline, still HTML editor will show, but it worked on posts comments as text editor,
-
It's a good idea to also clear your browser as well