2014-08-28 2 views

답변

0

TinyMCE와 같은 편집자는 항상 붙여 넣기의 html 코드에 문제가 있습니다. 당신은 원하는만큼 설정으로 바이올린 수 있습니다, 그것은 문제가 남아 있습니다. 그러나 TinyMCE의 설정을 조정하는 것은 여전히 ​​나의 첫 번째 조언 일 것입니다. 페이지에 악성 코드가 더 나은 항상, Afterall는, 그건

http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed

: 그 후 당신은 같은 또 다른 HTML 필터를 사용할 수 있습니다.

0

개방 tinyMCE.init을이 코드를 추가

content_css : "css/custom_content.css", 
theme_advanced_font_sizes: "10px,12px,13px,14px,16px,18px,20px", 
font_size_style_values : "10px,12px,13px,14px,16px,18px,20px", 

은 다음 TinyMCE page에서

custom_content.css 사용할 수 있습니다를 (더 많은 정보와 예제를 읽으십시오)

Note: updating the actual content.css will have no effect. You need to create a copy and reference it in tinyMCE.init().