New answers tagged

0

Currently it's not possible. Although Gutenberg module provides a Drupal text editor plugin, like CKEditor, it relies a lot on the node edit form to provide the editing experience.


0

in JS, id set from the h2 label two first words : const headings = document.querySelectorAll( ".article--full h2, .article--full h3" ); const tocElements = createTocElementsArray(headings); function createTocElementsArray(headings) { const tocElements = []; for (const item of headings) { if (item.id === "") { item.id = ...


0

Which version of Drupal are you running? Since the new button appears in admin/config/content/formats/full_html I guess the Config Import/Export worked but the connection between the new config and the CKEditor in the content didn't update? I will try that on my setup since im working with drush cex and drush cim regularly.


0

Edit the Text format your users use and disable the option that turns new lines into paragraphs or breaks. You can find the Text formats under Configuration > Content authoring > Text formats and editors. When you edit the one your users are using you will see that option enabled, you have to disable it:


0

You need to modify these settings to CKeditor. // The writing rules for the <p> tag. writer.setRules( 'p', { // Inserts a line break after the <p> opening tag. breakAfterOpen : true, } This can either be set programmatically, via JS or I believe you should be able to add it directly via the UI, if you visit the Ckeditor settings page, ...


Top 50 recent answers are included