Modify the simplified file size and download the example: Download the file to your local computer. You can also download the latest jQuery-based code from the official website: https://www.jb51.net/codes/44180.html 1 html <textarea id="txtcontent" runat="server" name="elm1" rows="15" cols="80" style="width:80%"></textarea> 2 js reference First reference tiny_mce.js and jquery-1.4.2.min.js Calling tinyMCE: Copy code The code is as follows:<script type="text/javascript"> tinyMCE.init({ // General parameter configuration mode : "textareas", theme : "advanced", plugins :"pagebreak,style,layer,table,save", // Theme parameter configuration theme_advanced_buttons1 :",bold,italic,underline,strikethrough", theme_advanced_buttons2 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, // You can replace your own style here content_css : "css/word.css", external_link_list_url : "lists/link_list.js", // Replace values for the template plugin template_replace_values : { username : "Some User", staffid : "991234" } }); </script> Parameter details: mode: textareas or exact |
<<: MyBatis dynamic SQL comprehensive explanation
>>: CSS to achieve the image hovering mouse folding effect
Counting the number of a string in a file is actu...
1. Scenario display The tomcat log occasionally r...
Some time ago, I submitted a product version to t...
I recently started learning Linux. After reading ...
clip-path CSS properties use clipping to create t...
Chapter 1 Source Code Installation The installati...
In fact, this is also a clickbait title, and it c...
1. Send effect HTML <div id="send-btn&quo...
Table of contents Environmental conditions Errors...
Since the problem occurred rather suddenly and th...
Official documentation: https://nginx.org/en/linu...
Table of contents 1. Enter a directory and create...
This article example shares the specific code of ...
By default, the table title is horizontally cente...
Table of contents origin Virtual Memory Paging an...