wintercms / wintercms/winter

Froala editor needs to be updated

Open
#810 1 comment 0 reactions 1 assignee View on GitHub

@LukeTowers is already working on this.

Since Dec 20, 2022.

accepted third party
Dominant language
PHP
Stars
1.5k
Forks
246
Avg merge
19h 2m
Merged PRs (30d)
7

Description

Winter CMS Build

1.2

PHP Version

8.1

Database engine

MySQL/MariaDB

Plugins installed

No response

Issue description

In the richtext formwidget when backspacing to delete a bullet point the bullet points get left behind, this is for both ordered and unordered lists.

winter-cms-froala-bug

This is an old issue in froala editor that was fixed back in 2018.

Steps to replicate
  1. In the backend go to content pages.
  2. Create a new page or edit an existing one.
  3. Create or edit an list (ordered or unordered)
  4. At the end of one of the list items use the backspace (delete) key to remove the list item.

You will notice that the bullet point is not removed.

Expected behaviour

In the current version of froala editor the bullet points are removed.

winter-cms-froala-bug1

Workaround

Clicking back on the line with the empty bullet point and hit backspace will delete it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.