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

Sometimes inserted text is surrounded with %% #190

Closed
annda opened this issue Aug 17, 2023 · 0 comments · Fixed by #197
Closed

Sometimes inserted text is surrounded with %% #190

annda opened this issue Aug 17, 2023 · 0 comments · Fixed by #197

Comments

@annda
Copy link
Contributor

annda commented Aug 17, 2023

This seems to happen when nested spans are found in the pasted text.

Some relevant code to investigate:

Possibly the inserted text is rendered as nowiki text and the user removes that (outer) formatting. The inner %% are preserved.

annda added a commit that referenced this issue 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
annda added a commit that referenced this issue 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
annda added a commit that referenced this issue Dec 13, 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
annda added a commit that referenced this issue Dec 13, 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
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 a pull request may close this issue.

1 participant