
This extension works only for pages with type
of HTML
or text/html
.
Features
Styles
Images that will be inserted to the editor content will use the CSS class as follows:
<!-- `Full` -->
<figure class="image">
<img alt="" src="/path/to/image.jpg">
<figcaption>Image caption.</figcaption>
</figure>
<!-- `Align Left` -->
<figure class="image align-left">
<img alt="" src="/path/to/image.jpg">
<figcaption>Image caption.</figcaption>
</figure>
<!-- `Align Center` -->
<figure class="image align-center">
<img alt="" src="/path/to/image.jpg">
<figcaption>Image caption.</figcaption>
</figure>
<!-- `Align Right` -->
<figure class="image align-right">
<img alt="" src="/path/to/image.jpg">
<figcaption>Image caption.</figcaption>
</figure>
You might need to add some special treatment to the generated HTML markup:
.image {
display: block;
}
.align-left {
float: left;
}
.align-center {
float: none;
}
.align-right {
float: right;
}
Languages
All language files stored in .\lot\x\c-k-editor.4\engine\vendor\@ckeditor\ckeditor4\lang
and .\lot\x\c-k-editor.4\engine\vendor\@ckeditor\ckeditor4\plugins\*\lang
folders has been removed except en.js
to reduce the file size.
Codes
The codetag
plugin is a modified version of this plugin with some tweaks to make it possible to toggle the <code>
tag based on this pull.
The codesnippet
plugin has been modified so that it doesn’t use any syntax highlighter features. The main function of this plugin has been simplified just to insert a piece of code snippet with some HTML classes. You can apply the external syntax highlighter plugin on the public view of the site later. If you don’t like it, you can download the original codesnippet
plugin here to replace the current codesnippet
plugin.
2 Comments
Alexander Liebrecht
Taufik?! After page editing and publishing, I have in the backend a message:
Is this an error message, and can I fix this?
Need more details about what kind of URL you are currently in, and what panel version you are currently use.
Please use the forum feature for better conversations.