2017-03-08 2 views
0

내 프로젝트에 최신 TinyMCE에를 사용하려고 해요 (즉 중요한 경우 프로젝트가 jQuery를 3를 사용)를 표시하지 않고, 내 문제는이 같은 텍스트 영역 초기화 경우 :TinyMCE에 몇 가지 도구 모음 요소

tinymce.init({ 
    selector: '#idOfTextarea', 
    menubar: false, 
    toolbar: 'bold italic underline strikethrough | bullist numlist outdent indent | link | copy paste undo redo | removeformat' 
}); 

다음 불리언, numlist 및 링크가 없습니다. 콘솔 출력에 오류가 없으며 다른 버튼이 잘 작동합니다. 출처를 보면 자리 표시자가 없습니다. icons not showing up

누구든지이 문제가 발생 했습니까? 해결책이 있습니까?

미리 감사드립니다.

답변

1

당신은 아래와 같이 초기화 코드를 업데이트 할 수 있습니다

tinymce.init({ 
    selector: '#idOfTextarea', 
    menubar: false, 
    plugins: [ 
     "advlist autolink lists link " 
    ], 
    toolbar: 'bold italic underline strikethrough | bullist numlist outdent indent | link | copy paste undo redo | removeformat' 
}); 

이 bullist, numlist 및 링크를 사용하려면 플러그인 시작 설명서에서

+0

을 추가했습니다,이 언급되지 않았다. 고맙습니다! :) – Peter

+1

기쁘게 .. 도와주세요 :) –