-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
area: extensions/widgets/markdowntype: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Describe the bug
The Markdown widget fails to parse a backslash at the end of a first header line as a multi-line header. However it inserts the backslash it self with Shift + Enter
To Reproduce
- Open a page with a markdown editor in rich text mode
- Enter "First Second"
- Insert line break with Shift + Enter after "First"
- Select markdown mode
- Observe a backslash is present in markdown
- Select RichText mode
- Observe that now a backslash is present the markup is not showing as a multi-line
Expected behavior
The Multi-Line header should be shown correctly.
Applicable Versions:
- netlify-cms-app 2.15.72
- netlify-cms-core 2.55.2
- netlify-cms 2.10.192
- Git provider: GitLab
- OS: Win 10
- Browser version v1.48.171 (Chromium 110.0.5481.177)
CMS configuration
Widget Config:
- { label: 'Textkörper', name: 'body', widget: 'markdown' }
Additional context
Related issue on backslash behavior in paragraphs
Metadata
Metadata
Assignees
Labels
area: extensions/widgets/markdowntype: bugcode to address defects in shipped codecode to address defects in shipped code