如何使用ueditor
ueditor在webcontent下,也就是与webcontent内的文件位于同一目录级. 最重要的javascript 的引用 ueditor位于webcontent目录下, 如果需要实例化ueditor的文件,比如index.jsp位于ueditor目录内,则直接使用scr="ueditor.config.js"及其他引用,如下: 如果index.jsp位于webcontent下,与ueditor目录在同一目录级,则使用scr=“ueditor/ueditor.config.js”,前面不要加/,因为不是根目录。如下: <script type="text/javascript" charset="utf-8" src="ueditor/ueditor.all.min.js"> </script> <script type="text/javascript" charset="utf-8" src="ueditor/ueditor.all.js"> </script> <link rel="stylesheet" type="text/css" href="/ROOT/ueditor/themes/default/css/ueditor.css"> <!-- 一开始无法初始化编辑器,就是因为src没加ueditor/,所以SRC要写全 --> <!--建议手动加在语言