TinyMCE(一)
2015-08-13 17:35
218 查看
Simple theme example
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <script type="text/javascript" src="<%=path %>/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "simple" }); </script> </head> <body> <form method="post" action="${pageContext.request.contextPath }/DemoServlet"> <h3>Simple theme example</h3> <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded --> <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%"> This is some example text that you can edit inside the <strong>TinyMCE editor</strong>. </textarea> <br /> <input type="submit" name="save" value="Submit" /> <input type="reset" name="reset" value="Reset" /> </form> </body> </html>
相关文章推荐
- php回传ajax数据
- 对象 序列化 字节流 传输
- 隐藏Apache、nginx和PHP的版本号的配置方法
- hibernate二级缓存测试
- MFC中View类获取CMainFrame的方法
- .htm .html .shtml的区别
- 参数解析
- SOAPUI 断言之三
- Storm简介及计算模型
- Quartz体系结构
- Objective-C:MRC(引用计数器)获得对象所有权的方式(init、retain、copy等)
- 基本组件之botton
- Scrollview嵌套ListView冲突问题
- AFNetworking使用
- Mesos + Docker Tutorial: How to Build Your Own Fra
- NetIQChariot5.4网络带宽测试工具使用的代价!!!
- websphere部署中文乱码问题
- hdu1021 Fibonacci Again
- Activiti 特点
- Android显示Gif图片