Ckeditor not showing my code block when edit code block

81 views Asked by At

Ckeditor is not showing my code block when I edit it. I show it with the screenshots below.

myconfig file:

config.toolbar = 'Full';
config.extraPlugins = 'sourcedialog';
config.extraPlugins = 'codemirror';
config.fillEmptyBlocks = false;
config.autoParagraph = false;
config.allowedContent = true;
config.extraAllowedContent = 'pre[*]; code[*]';
config.extraPlugins = 'codesnippet';

Adding a post:

i add post

Editing a post:

i edit post

Source code for text:

source code for text

0

There are 0 answers