ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

HTML Formatting in Comments?

November 16, 2007 2:55pm

Subscribe [2]
  • #1 / Nov 16, 2007 2:55pm

    Vik

    209 posts

    I’m trying out TinyMCE as my comments editor.

    I notice that when it inserts <blockquote></blockquote> html, this html displays correctly. But when it inserts code, the comment as displayed shows a line break, but does not put a blank line between the paragraphs. 

    How can I correct this?

    Thanks in advance to all for any info.

    Note: I have comment formatting set to xhtml, and I’m not using any comment plugins.

    (A link to the site is here.)

  • #2 / May 21, 2008 11:26pm

    Nelson @ Evoflux

    32 posts

    I know this is rather old, but I’m running into the same issue. Is there a way to disable the automatic ‘’ formatting for the ‘{ comment }’ tag?

  • #3 / May 22, 2008 1:04pm

    Vik

    209 posts

    I’m trying to remember how I took care of this. I think the way I got this working was by means of some TinyMCE variables. Here’s how I init TinyMCE:

    tinyMCE.init({
                theme : "advanced",
                mode : "textareas",
                browsers : "msie,gecko,opera",
                plugins : "preview",
                theme_advanced_statusbar_location : "bottom",
                theme_advanced_resizing : true,
                force_p_newlines : false,
                force_br_newlines : true,
                theme_advanced_path : false,
                plugin_preview_width : "500",
                plugin_preview_height : "600",
                theme_advanced_buttons1 : "link,outdent,indent,bold,italic,strikethrough,separator,undo,redo,separator,code,cleanup,preview",
                theme_advanced_buttons2 : "",
                theme_advanced_buttons3 : ""
            });

    I think the force_p_newlines and force_br_newlines variables may be what took care of it.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases