Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by

Previously i have used markdown editor on my site and lot of question and answers used by markdown editor

and now i am back to wysiwyg editor and got this error -no viewer found for format

how can i remove this from all QA


My site Link: http://www.answersbd.com


Q2A version: 1.6.2

1 Answer

+2 votes

Do one of these:

A. If you want the formatting to still appear (e.g. **bold** for bold) then you need to keep the Markdown editor installed. You can have the plugin still there but set WYSIWYG as the editor to use for all new posts.

B. Update the "format" field in the "qa_posts" table - replace all occurrences of "markdown" with the format you want to use. Leave it blank for plain text, I think it is "wysiwyg" for the WYSIWYG editor but double check your database.

C. You could write your own script to convert the markdown in the content field to HTML and store that, then update the "format" like in B. (You can use the Markdown parser class that's in the Markdown plugin.)