tinymce中的几个皮肤

时间:2016-02-10 17:56:16

标签: tinymce

我在页面中有两个小问题

<script>
  tinymce.init({
    selector: '#comment',
    language: "fr",
    plugins: "image,autolink,autosave,stylebuttons,charmap,code,emoticons,fullscreen,hr,link,media,noneditable,powerpaste,preview,print,textcolor",
    skin: "lightgray",
    menubar:false,
    language : "fr",
    forced_root_block : false, // pour forcer le saut a la ligne
    toolbar: "bold italic| style-p style-h2 style-h3 style-h4 |  alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link media image | code | hr | emoticons forecolor backcolor | preview fullscreen",
  	default_link_target: "_blank"
  });
 </script>

 <script>
	tinymce.init({
    selector: '#1', 
    language: "fr",
    plugins: "image,autolink,autosave,stylebuttons,charmap,code,emoticons,fullscreen,hr,link,media,noneditable,powerpaste,preview,print,textcolor",
    skin: "light",
    menubar:false,
    language : "fr",
    forced_root_block : false, // pour forcer le saut a la ligne
  	toolbar: "bold italic |  alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link media image | charmap code | hr | emoticons forecolor backcolor | print | preview fullscreen",
  	default_link_target: "_blank",
  	height : 20
	});
</script>

我想在同一页面上有几个皮肤。 皮肤示例:“lightgray”和皮肤:“轻”,但它不起作用

我能帮帮我吗

非常感谢

0 个答案:

没有答案