TinyMCE I will not introduce more, this is the download address: https://www.tinymce.com/download/
Download down is English version, to Chinese is also very simple.
First go to the Internet to download a Chinese-made package, and then unpack the Langs folder in the zh_cn.js copy to your download TinyMCE langs folder on the line. Finally, add "language:" ZH_CN "in the Tinymce.init" (the code will be posted
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 custom add image plug-in, tinymce custom plug-in
Requirements:
Insert an image in the Rich Text Editor. The image is from the image library that you can upload on your own.
You can use the built-in tinyMCE plug-in to insert images. This image plug-in requires users to enter the image url.
I want to come and think about it. Although it was the first phase
Use of TinyMCE (including Chinese and Local Image Upload functions) and tinymce Image Upload
TinyMCE I will not introduce more, this is: https://www.tinymce.com/download/
The downloaded version is in English, and it is easy to get the Chinese version. First download a Chinese package from the Internet, and then extract the package into the langs folder.
Copy zh_C
. TinyMCE comes with three built-in themes: simple, default, and advanced.If you want to create your own topic, read the topic section of the document carefully.
[Plugins]
This option is a list of theme plug-ins separated by commas (, for example, it can be used only to expand the image dialog box ). These plug-ins cover the features defined in the theme template. The plug-in logic should be con
the output.
Example of initialization:The example below will pack both themes and all plugins into one file/steam. remove the things you don't need or add you custom plugins to the settings below. remember that the tinymce_gz.init call must be placed in it's own script tag.Note:1). To remove a plugin, remember to remove it both from tinymce_gz.init and tinymce.
, the entire folder into the WebContent directory, the directory structure as shown(2): page integration TinyMCEInitialize the TINYMCE Editor in the JS tab of the page, as shown in the code below Run as shown, basic integration is completeThird, TINYMCE editor local upload image functionNote: The default TINYMCE is not the ability to upload local images to the se
three built-in themes: simple, default, and advanced.If you want to create your own topic, read the topic section of the document carefully.
[Plugins]
This option is a list of theme plug-ins separated by commas (, for example, it can be used only to expand the image dialog box ). These plug-ins cover the features defined in the theme template. The plug-in logic should be contained in a file named "editor_plugin.js", which is the only
InitializationWhen initializing TinyMCE, add the following code to the HEAD tag of the page. According to the settings in the following example, all TEXTAREA text fields are converted to the editor during page loading. There are other modules, which will be detailed later.
Note that the above red part is the location of the tiny_mce.js script file, which contains all the code required by th
the ID of the specified textare control and the designMode = "on ". Therefore, we need to press Ctrl + S in the online editor to implement saving, which is to listen to the events in the ifame and associate it with our custom method, which can be an Ajax request server to save s, you can also execute other operations in seconds. Then I will provide a complete demo.
The above is a completed example. Because
Solution for TinyMCE submitting AjaxForm to fail to obtain data
This article mainly introduces how TinyMCE submits AjaxForm to obtain data. The example analyzes the corresponding source code and corresponding solutions, which has some reference value. If you need it, you can refer
This article analyzes the solution for Tiny
This article mainly introduces how TinyMCE submits AjaxForm to obtain data. The example analyzes the corresponding source code and corresponding solutions, which has some reference value, you can refer to the example below to analyze how TinyMCE submits AjaxForm to obtain data. Share it with you for your reference. The
Original article: http://stuartmcgoldrick.com/drupalwysiwyg Introduction
This article is designed to help you get syntax highlighting working correctly with your Drupal 7 installation and using a WYSIWYG editor. the outcome of this tutorial is to be able to insert blocks of code into Drupal articles/pages like the block below through a WYSIWYG editor (tinymce in this case ). ?
Example
1234
This article mainly introduces how TinyMCE submits AjaxForm to obtain data. The example analyzes the corresponding source code and corresponding solutions, which has some reference value, for more information, see. This article analyzes the solution for TinyMCE submitting AjaxForm to fail to obtain data. Share it with you for your reference. The specific analysis
JQuery editing plug-in TinyMCE is an html editing plug-in that can be easily integrated into your system. Unlike FckEditor, TinyMCE requires specialized background language integration. TinyMCE can easily integrate asp.net, php, java can easily perform extension and secondary development.
Download case after modifying the simplified file size: download the file t
/themes/advanced/image.htm. Our job is to intercept the image when tinymce inserts it into html, and modify the img node to
[Xml]
In the filebrowser management interface, interfaces for selecting these files are provided. For example, you can select different image sizes as needed. If select is selected, the original file is selected.
When tinymce inserts an
Asp.net| Solution | Chinese TINYMCE is a well-designed open source WYSIWYG rich text box JavaScript control. We can download the code for free on the internet.
TINYMCE can be easily integrated into any development environment, while also supporting multiple language packs.
However, in the specific use of the process, or need more careful settings, such as set a good Tin
Font: [Increase decrease] type: Reprint a few days ago, think the insertion code of the blog is not easy to use. Then, replace the Sina HTML editor with the TINYMCE. and developed a simple plug-in code function ...Here is the process I developed.First of all, my TINYMCE version is version:3.2.7 (2009-09-22).Http://www.jb51.net/codes/17198.htmlTinyMCE Insert code, need to call TinyMCE's Tinymce.execcommand (
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.