editor-js / warning

Warning Tool for CodeX Editor 2.0
MIT License
23 stars 31 forks source link

Adjust Line Break Policy #44

Closed egg- closed 7 months ago

egg- commented 7 months ago

Changes Made:

  1. Adjusted the settings to disallow the preservation of line breaks. Line breaks are no longer permitted, following a similar policy to Notion's callout feature.
  2. Implemented functionality to allow users to add line breaks using the Shift+Enter combination.

Reasons for Changes:

The previous line break policy could lead to unexpected confusion among users. By adopting a policy similar to Notion's callout feature, users will experience a more consistent editing environment. Additionally, the implementation of Shift+Enter functionality provides users with the flexibility to add line breaks only when necessary.

Before Changes:

After Changes:

Additional Information:

These changes aim to enhance user convenience and provide a more consistent editing environment. We anticipate that these modifications will have a positive impact on user experience.