WYSIWYG Editor On Edit FAQs

You have a suggestion for a future version of phpMyFAQ? Then post it here!

Moderator: Thorsten

Post Reply
Grunt
Posts: 38
Joined: Fri May 27, 2022 2:29 pm

WYSIWYG Editor On Edit FAQs

Post by Grunt »

When editing an existing FAQ, we get all the markdown code instead of the pretty WYSIWYG editor that's present when you create an FAQ. Unification of the editor would be great.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG Editor On Edit FAQs

Post by Thorsten »

Hi,

did you activate the WYSIWYG editor?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Grunt
Posts: 38
Joined: Fri May 27, 2022 2:29 pm

Re: WYSIWYG Editor On Edit FAQs

Post by Grunt »

Which one? There are options for two WYSIWYG, I have checked both boxes, but only the one that mentions the front-end activated. I've encountered this a few times where I make configuration changes but they don't stick after hitting save. I just assumed I could only have one WYSIWYG editor.
Grunt
Posts: 38
Joined: Fri May 27, 2022 2:29 pm

Re: WYSIWYG Editor On Edit FAQs

Post by Grunt »

Manually running the SQL query to enable the other editor worked and I get the nice editor in the backend.

I guess I need to figure out what's going on with making config changes not happen in SQL. No errors are showing up with debugging enabled.
Grunt
Posts: 38
Joined: Fri May 27, 2022 2:29 pm

Re: WYSIWYG Editor On Edit FAQs

Post by Grunt »

Did some digging, looks like there's a logic check in the admin\configuration.php file that disables the backend WYSIWYG editor if the Markdown editor is enabled. Is there a reason they both can't be enabled, does one make the other redundant or is there some compatibility issue?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG Editor On Edit FAQs

Post by Thorsten »

Hi,

yes, you can't use both in parallel as it breaks everything.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply