WordPress.org

Ready to get started?Download WordPress

Forums

CM Answers
[resolved] No formatting when posted (2 posts)

  1. georgehenryrowe
    Member
    Posted 2 months ago #

    Hi there

    Just started using the free version of CM Answers and like it very much!

    One question though; when I post a question through WordPress in the TinyMCE editor and add paragraphs, list styles etc, when the question is posted all this formatting is removed. Do you know why this might be?

    Many thanks

    George Rowe

    https://wordpress.org/plugins/cm-answers/

  2. CM Plugins
    Member
    Plugin Author

    Posted 1 month ago #

    There are several reasons why this can happen
    - Another plugin is sensitizing the input
    - Setting is not defined well
    - wp-kses is removing part of your input as described in here
    If you look into the plugin code
    in lib\models\AnswerThread.php
    you can find at lines 371,372 & 513 the use of the wp_kses. This is a WP function that remove tags from the input (http://codex.wordpress.org/Function_Reference/wp_kses)
    You can adjust the elements allowed in the input which may also solve some of the issues

    So please check the above

Reply

You must log in to post.

About this Plugin

About this Topic