/

CM Answers (CMA) - Theme - Markup Box and Rich Text Editor


Enabling or Removing The Markup Box

Back to User Guides

This guide refers to specific options of the plugin settings Appearance tab → Editor

It also gives an overview of all these options at the end of the page. Click here to skip.


Markup Box

The admin can opt for displaying the markup box near the question or answer forms. 

This gives users markup and code wrapping possibilities right at their fingertips while they are creating content. 

First, navigate to the Editor section of the Appearance tab in the plugin settings.

If this option is enabled, the box showing the markup and codewrap possibilities will appear next to the “Ask a question” or “Post an answer” boxes:


Adding Rich Text Editor

There is also the possibility to choose a rich-text editor for the questions and answers forms. The rich text editor will be the default TyneMCE editor for WP unless another plugin is installed. 

The setting to enable the rich text editor for question and answer forms is also available under the Editor section of the Appearance tab in the plugin settings. 

The admin can customize the number of editor rows.

If enabled, the questions/answers normal text box will be replaced by a rich text editor allowing for the users' easy manipulation of content for posting:

richtext 1b


More Options to Control Using the Editor 

  • Show table button in rich editor - Allow users to easily add a table (check screenshot below).
  • Show toolbar in richtext editor by default - Displays the TinyMCE toolbar by default (check screenshot below).
  • Add justify button to text align block - Allow users to easily align their text (check screenshot below).
  • Editor rows number - The default value is 3.
  • Enable JS limit - Displays information about text length and characters remaining.
  • Limit for question title/description - Define a limit to the number of characters in the question title and description. Inputting 0 will remove the limit. 

  • Limit for question/answer - Same as before, define a limit to the number of characters in these fields. Inputting 0 will remove the limit.
  • Notification option checked by default - Choose the default value of the option.
  • Escape the <pre> tag content - If enabled, HTML code inside the <pre> tag will be escaped. If disabled, HTML code inside won't be escaped.
  • Submit button background color -  Set the custom background for the submit button or leave empty to use default. Example: #66cc66.
  • Escape the <pre> tag content - If enabled, HTML code inside the <pre> tag will be escaped. If disabled, HTML code inside won't be escaped.
  • Allowed HTML tags and attributes - Enter the list of the allowed tags and attributes. Other tags will be escaped from the question or answer content. Separate tags with commas or new lines. 
  • Include class-wp-editor - Disabling it can be useful for troubleshooting.


Get more information about the CM Answers WordPress Plugin

Find other WordPress products at the CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

Visit our support center to open a Support Ticket