날 나는이 중복 질문은 잘 알고 말을 시작하자 설정할 수 없습니다 - 말썽이 나는 모든 CSS의 관념은 아무 소용이 제안 시도한다 TinyMCE width and height disobedient!Tiny_mce - 폭
와 나는를 사용하고 있지 않다 init (너의 너비와 높이를 설정했다는 것을 발견 한 문서) - 나는 왜 그런지 알지 못한다.
$('textarea.tinymce').tinymce({
// Location of TinyMCE script
script_url: '/assets/js/common/tiny_mce/tiny_mce.js',
// General options
theme: "advanced",
plugins: "autolink,lists,pagebreak,table,advlink,iespell,inlinepopups,insertdatetime,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,template,advlist",
// Theme options
theme_advanced_buttons1: "undo,redo,|,cut,copy,paste,|,bold,italic,underline,|,forecolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,sub,sup,|,formatselect,fontsizeselect",
theme_advanced_buttons2: "tablecontrols,|,charmap,iespell,|,cite,abbr,acronym,|,bullist,numlist,|,outdent,indent,blockquote,|,link,unlink,|,fullscreen",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_statusbar_location: "bottom",
theme_advanced_resizing: false
});
사람이 어떻게이 젠장 일 500 픽셀 폭 만드는 방법을 가르쳐주세요 : 는 여기 fancybox의 aftershow 이벤트에 출시되고있는 MCE 코드입니다.
.mceEditor > table {
width:500px !important;
}
내 코드에서 일반 옵션이 퍼팅 시도 :
width:"500",
텍스트 영역의 열 설정을 시도 2
가의 CSS 폭을 설정하는 시도 나는이 (수행 아무것도) 시도하지 중요한 다음 요소 :id=desc_mce_parent, id="desc_mce_tbl"
크기를 false로 설정했습니다.
내가하는 일에 상관없이 아무 것도 바뀌지 않습니다 - 왜?
야생 추측 : 클래스 선택기가 모든 ID 선택자에 의해 재정의 될 때 해당 선택자의 어딘가에서 ID를 사용할 수 있는지 확인하십시오 (예 :'#someContainer> .mceEditor> table {...} ') – jbabey
@jbabey Thanks for 그 제안은 방금 시도했지만 기쁨은 없었습니다 ... 거의 니세이트 때였습니다 – WebweaverD
+1 2 일 후에 대답을 대답으로 게시하고 받아 들일 것을 제안합니다. – Thariama