How to Set multiple tinymce editors and multiple tinymce editors on the same page

Source: Internet
Author: User

How to Set multiple tinymce editors and multiple tinymce editors on the same page

How to Set multiple tinymce editors on the same page

This example shows how to setup multiple editors on the same page and with different configs.

It is used in multi-function text boxes. Previously, only one tinymce editor can be used on the same page. Baidu and Google have no results. Therefore, we can sort out the code for your reference:

<script type="text/javascript" src="./tiny_mce/tiny_mce.js"></script><script type="text/javascript">tinyMCE.init({        mode : "textareas",        theme : "simple",        editor_selector : "mceSimple"});tinyMCE.init({        mode : "textareas",        theme : "advanced",        editor_selector : "mceAdvanced"});</script><form method="post" action="websites_somepage">        <textarea name="content1" class="mceSimple" style="width:100%">        </textarea>        <textarea name="content2" class="mceAdvanced" style="width:100%">        </textarea></form>

:

TinyMCE attachment download: http://pan.baidu.com/s/1qWEykX2

Thank you for following the websites blog!


TinyMce editor Problems

TinyMCE has. net version. For details, refer to the official website tinymce.moxiecode.com/download.php.

How does tinymce online editor dynamically update content?

Tinymce online editor must be used in IE. Firefox and Google have interception tools, so tinymce online editor cannot run normally.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.