0
Q/A 응용 프로그램에서 Twitter Bootstrap v3.1과 함께 TinyMCE를 사용하고 있습니다. 내가 콘솔에서 TinyMCE에 여러 404 오류를 얻고 몇 가지 이유를 들어TinyMCE 404/undefined
:
GET http://localhost/assets/lib/TinyMCE/themes/modern/themeundefined.js 404 (Not Found) tinymce.min.js:3
Failed to load: /assets/lib/TinyMCE//themes/modern/themeundefined.js
는 최대한 멀리 볼 수있는 경로가 정확한지 확인하십시오. 브라우저 바 (undefinedtheme.js없이)에 직접 경로를 입력하고 팝업합니다. TinyMCE에에
전체 경로는 다음과 같습니다 http://localhost/application/assets/lib/TinyMCE/
- 은 내가 해제 시도했지만 도움이되지 않았다, 유행의 재 작성이 가능합니다.
- 내가 시도 설정 : 내가 mod_rewrite를 나에게 지적 문제에 대한 TinyMCE에 FAQ를 검색 한
tinyMCE.baseURL = "/assets/lib/TinyMCE";
tinyMCE.baseURL = "/application/assets/lib/TinyMCE";
tinyMCE.baseURL = "localhost/application/assets/lib/TinyMCE";
.
기본적으로 undefinedtheme.js
건 무엇이 발생 했습니까?
내 TinyMCE에 기자 :
//TinyMCE Initiator
//set scope
$(document).ready(function() {
tinyMCE.baseURL = "/assets/lib/TinyMCE";
tinymce.init({
selector: "textarea#tinymce",
theme: "modern",
/*width: 400,*/
height: 300,
plugins: [
"advlist autolink link lists charmap print preview hr anchor pagebreak spellchecker",
"searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime nonbreaking",
"save contextmenu directionality emoticons template paste textcolor"
],
content_css: "../assets/css/bootstrap.css",
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify bullist numlist forecolor | outdent indent | l ink | ",
style_formats: [
{title: 'Bold text', inline: 'b'},
{title: 'Red text', inline: 'span', styles: {color: '#ff0000'}},
{title: 'Red header', block: 'h1', styles: {color: '#ff0000'}},
{title: 'Example 1', inline: 'span', classes: 'example1'},
{title: 'Example 2', inline: 'span', classes: 'example2'},
{title: 'Table styles'},
{title: 'Table row 1', selector: 'tr', classes: 'tablerow1'}
]
});
});
및 후 구글에서 검색을 다시 똑바로 나를 데리고 이 페이지 및 인스턴트 픽스는 사람들이 자신의 질문에 대답해야하는 이유입니다. 누가 필요할지 모릅니다. – Edward