1
を働いていない私はCKEditorバージョン:私はこのdiv要素のコンテンツをクリックするとCKEDITOR.disableAutoInline = trueの
<div id="editor1" name="editor1" contenteditable="true">
{!! $post->post !!}
</div>
私のWebページにdivタグを持っている、CKEditor Toolbar
が自動的に表示されます。 このツールバーを無効にしようとしました。私は以下を試みたができなかった。
は1をお試しください:
<script>
$(document).ready(function() {
CKEDITOR.disableAutoInline = true;
});
</script>
2を試してみてください:CKEditorバージョンの設定ファイル
config.disableAutoInline = true;
私の何が問題になっていて?私はGoogle、Stakeoverflowで何時間も探していますが、解決策は見当たりません。誰にでも助けてもらえますか?私は
<link rel="stylesheet" href="http://localhost/ewt/resources\assets
\ckeditor\plugins\codesnippet\lib\highlight\styles\magula.css">
を追加し、私は
<script src="http://localhost/ewt/resources/assets/ckeditor/ckeditor.js"> </script>
<script src="http://localhost/ewt/resources/assets/ckeditor/adapters
/jquery.js"></script>
<script>hljs.initHighlightingOnLoad();</script>