djangocms-text-ckeditor icon indicating copy to clipboard operation
djangocms-text-ckeditor copied to clipboard

Q: access and overwrite htmlWriter?

Open creimers opened this issue 5 years ago • 5 comments

According to the ckeditor docs, rather fine grained settings can be applied to individual tags that the editor renders (htmlWriter).

Is there a way to access and overwrite these kind of settings in djangocms-text-ckeditor?

creimers avatar Oct 25 '18 12:10 creimers

Could you please be more specific on what you want to achieve. Using the settings variable CKEDITOR_SETTINGS it is possible to configure CKEditor quite heavily to your own needs.

jrief avatar Oct 29 '18 23:10 jrief

I can.

I would like to perform the following stunt:

// Break line before and after "ul" tags.
writer.setRules( 'ul', {
    breakBeforeOpen: false
    breakAfterOpen: false
} );

This is described in the editor's docs here.

creimers avatar Nov 02 '18 07:11 creimers

@creimers is this issue still present?

bplociennik avatar Mar 21 '19 08:03 bplociennik

This is still something I'd be interested in, yes.

creimers avatar Mar 21 '19 08:03 creimers

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '22 17:07 stale[bot]

This will now be closed due to inactivity, but feel free to reopen it.

stale[bot] avatar Aug 30 '22 17:08 stale[bot]