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

When there is a space after a sentence, highlighting and adding effects are applied to all the text below #1503

Closed
jmgasper opened this issue Feb 21, 2023 · 6 comments

Comments

@jmgasper
Copy link
Collaborator

REF: https://topcoder.atlassian.net/browse/PROD-4123

  1. Go to WM
  2. Add a sentence in the editor with a space at the end
  3. Add some more sentences below it by pressing enter key
  4. Now select the first line by double clicking it
  5. Apply some font effect
  6. When there is a space after a sentence, highlighting and adding effects are applied to all the text below

Video

2023-02-20.10-15-18.mp4
@suppermancool
Copy link
Contributor

suppermancool commented Feb 22, 2023

@jmgasper I can not fix this bug this is the bug in easymde Ionaru/easy-markdown-editor#74 it is related to how CodeMirror displays the template

The only thing I can do is add ** before all the spaces at the end of the selection text. Is this ok?

@suppermancool
Copy link
Contributor

@jmgasper this is demo for above suggestion https://monosnap.com/file/Duv8Gj4HN4fI6kvMq3RCO4YozXdhqE

@jmgasper
Copy link
Collaborator Author

@suppermancool - Thanks. I'll get feedback from Topcoder first and let you know.

@jmgasper
Copy link
Collaborator Author

jmgasper commented Feb 22, 2023 via email

@suppermancool
Copy link
Contributor

suppermancool commented Feb 23, 2023 via email

@suppermancool
Copy link
Contributor

@jmgasper done in
work-manager-issue-1503.patch this patch against commit 8be49cf (develop branch)

jmgasper added a commit that referenced this issue Feb 23, 2023
@jmgasper jmgasper added this to the Markdown Editing milestone Feb 27, 2023
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

No branches or pull requests

2 participants