basecamp / basecamp/trix

Adding a line break by pressing "enter" key resulting in submitting an empty string #svelte

Open
#1,237 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

Hi all,

I am trying to get the basic text editing to work within CRUD in my Svelte app. Not sure why the content from the text editor is being submitted as "" if I press the "enter" key to create a line break in the editor. If I didn't create a line break, or if I pasted a paragraph from elsewhere with line breaks into the editor and submitted the form, the paragraph is created accordingly in the database. Any suggestion on how to fix this is greatly appreciated. Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.