Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Leave text unformatted #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

davidecavaliere
Copy link

Hello there,

I found useful to leave the text unformatted. Use case is as follow.

I want to use the contenteditable directive as an input field for a markdown document.

In such a scenario I will need the inserted text without html elements in the model but I will still need the
s in place of the newlines (\n) in the view. This last is the case where we update the model programmatically and we want to be displayed properly.

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

Successfully merging this pull request may close these issues.

1 participant