Aby w temacie dodać własne formatowanie w edytorze CKEditor 5 należty w pliku tematu info dodać:
name: Bootstrap5 - DAFR
type: theme
description: 'Basic structure for a Bootstrap SubTheme.'
core_version_requirement: ^10.3 || ^11
base theme: bootstrap
libraries:
- dafr_b5_sub/global-styling
- dafr_b5_sub/bootstrap-icons
ckeditor5-stylesheets:
- css/ckeditor.css.ck.ck-editor__main>.ck-editor__editable {
background: #fff !important;
color: #3b3b3b;
}
.ck-content h2 {
margin-top: 40px;
margin-bottom: 30px;
padding-top: 10px;
border-top: 1px solid #aaaaaa7d;
color: #555;
}