Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edits to "Text Formats, Editors & Filters" page #233

Open
leeksoup opened this issue Mar 19, 2024 · 0 comments
Open

Edits to "Text Formats, Editors & Filters" page #233

leeksoup opened this issue Mar 19, 2024 · 0 comments

Comments

@leeksoup
Copy link

leeksoup commented Mar 19, 2024

Suggested improvements to the Text Editors, Formats & Filters documentation at

Motivation:
The "Convert line breaks into HTML" / filter_autop filter breaks text_summary() when combined with CKEditor. See backdrop/backdrop-issues#6423

Suggested Edits:

To this part:

Convert line breaks into HTML - This filter converts line breaks into <br> or <p> tags depending on whether a single or double line break is found. This preserves the paragraph formatting in the text that is input.

Add:

This filter is redundant when a Text Editor is configured. It also breaks the Backdrop summary generation function when enabled along with CKEditor. It should be disabled in any format that includes a Text Editor.

To this part:

Convert URLs into links - Any web or email addresses that are found in the text will be converted to clickable links, thus saving the user the hassle of having to type <a href="....">.

Add:

This filter is redundant when a Text Editor is configured. It is recommended to disable it in any format that includes a Text Editor.

Update format names and details

  • Change "Filtered HTML" to "Basic"
  • Change "Full HTML" to "Raw HTML"
  • Remove "Editor" from Full / Raw HTML since the current config does not enable the Text Editor for this format.

Additional Edits:

I have filed an issue to implement the above recommendations in the default Filtered HTML (Basic) format. When that is resolved, this documentation page will need to be updated to correct the list of enabled filters for those formats. See backdrop/backdrop-issues#6429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant