0
我在codeigniter融合發票中使用tinymce文本編輯器。保存文本後,編輯器將在textarea源代碼中顯示如下內容。保存在codeigniter中後不支持Tinymce font-color
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p><span ff00ff="" ff99cc="">dffghfgh</span></p>
</body>
</html>
我的TinyMCE的代碼是
tinymce.init({
selector: "textarea",
verify_html: false,
plugins: [
"fullpage",
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code fullscreen",
"insertdatetime media table contextmenu paste",
"textcolor"
],
toolbar: "insertfile undo redo | fontselect fontsizeselect styleselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
textcolor_map: [
"000000", "Black",.. ]
});
非常感謝@Deniz。它工作正常:) –
@Testsample不客氣。快樂的編碼! –