egeloen (ivoryckeditor)의 ckeditor-bundle을 사용하여 Symfony 3.3.10 프로젝트에 CKEditor (4.7.3) . 지금은 "Save" Plugin을 작동 시키려고합니다.symfony 3의 CKEditor 플러그인 저장 버튼 (egeloen/ivoryckeditor)이 저장 버튼을 표시하지 않습니다
플러그인 폴더를 내 웹 폴더에 복사했습니다.
$ckeditForm = $this->get('form.factory')->createNamedBuilder('ckedit_form', CKEditorType::class, $content, array(
'label' => false,
'config' => array(
'config_name' => 'ckeditor_config_1',
'inline' => true,
),
))->getForm();
불행하게도 "저장"버튼이 표시되지 않는 : 이 내가 ckeditor 양식을 만드는 방법
ivory_ck_editor:
inline: true
autoload: false
async: false
configs:
ckeditor_config_1:
toolbar: [ [ "Save", "Cut", "Copy" ] ]
extraPlugins: "save"
plugins:
save:
path: "/bundles/ivoryckeditor/plugins/save/"
filename: "plugin.js"
그게 전부가 렌더링에 나뭇 가지에 전달할 config.yml에서 내 테스트 구성입니다. 버튼의 원인에 대한 아이디어는 매우 환영합니다.
src/ressources/public에 플러그인 폴더를 넣었습니까? 그런 다음 자산을 실행하십시오 : symfony가 웹 디렉토리에 플러그인 폴더를 만듭니다. – Mz1907
@ Mz1907 방금 web/bundles/ivoryckeditor/plugins에 저장 플러그인을 복사했습니다. ivoryckeditor 번들은 제안한 것처럼 설치되었지만 vendor/egeloen/ckeditor-bundle /에서 저장 플러그인을 명시 적으로 설치하려고하지 않았습니다. 내가 어떻게 그럴 수 있니? app/Resources에는 번들이나 플러그인과 관련된 것이 없습니다. – user3440145
직접 공급 업체에 설치할 수 있습니까? 과거의 프로젯에서는 벤더에 직접 플러그인을 설치해야했습니다 ... 아마이 정보가 도움이 될 수 있습니다. – Mz1907