We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8042
    • 7 Posts
    Hi

    For my blog/article creation page I want to have the tinymce editor for both the summary and content boxes, so I have two template variables, blogContent and blogSummary, which both use the TinyMCE editor widget. What’s happening is that TinyMCE only appears for the blogContent -- looked at the page source and the problem seems to be that TinyMCE’s init method is being called twice on the page and overwriting the elements parameter setting for the first element, tvblogSummary.

    Is there a way I can get round this?

    Also, is there a way of avoiding large chunks of javascript being placed in the body of a page?

    cheers.
      • 8042
      • 7 Posts
      OK, I got round it by not using template variables and just initializing the editor myself.

      Cheers...