Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of unformatted text #197

Merged
merged 1 commit into from Dec 13, 2023
Merged

Improve handling of unformatted text #197

merged 1 commit into from Dec 13, 2023

Conversation

annda
Copy link
Contributor

@annda annda commented Dec 12, 2023

  • do not assume any pasted text that includes a span is unformatted (nowiki)
  • visually highlight unformatted text in editor
  • disable adding format marks (like bold) inside unformatted text
  • add 'unformatted' to text style dropdown

Fixes #190

Addresses but does not yet resolve #101

What still needs implementation: proper nowiki node as in #55 and fully escaping syntax as discussed in #100

- do not assume any pasted text that includes a span is unformatted (nowiki)
- visually highlight unformatted text in editor
- disable adding format marks (like bold) inside unformatted text
- add 'unformatted' to text style dropdown

Fixes #190

Addresses but does not yet resolve #101
@annda annda merged commit 4b4f793 into master Dec 13, 2023
6 checks passed
@annda annda deleted the unformatted branch December 13, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sometimes inserted text is surrounded with %% Formatted pasted text interpreted as unformatted
1 participant