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

Katex block adding new lines each time I toggle from TinyMCE (after making changes) to Codemirror #5042

Closed
Subhra264 opened this issue Jun 2, 2021 · 2 comments
Labels
bug It's a bug stale An issue that hasn't been active for a while...

Comments

@Subhra264
Copy link
Contributor

Katex block adds new line everytime I switch from TinyMCE to codemirror after making some changes. Check out the images below:

joplin_katex_block_issue_1

joplin_katex_block_issue_2

  1. See the highlighted katex block
    joplin_katex_block_issue_3

Environment

Joplin version: Joplin 2.0.2 (dev, win32)
Platform: windows
OS specifics: Windows 10 Home Single Language, version: 20H2

Steps to reproduce

  1. Write some block katex expression in the codemirror editor
  2. Switch to TinyMCE
  3. Make some changes to your note
  4. Switch back to codemirror
  5. See the bug

Repeat step 2 to 4 couple of times and you will see that every time new lines are being added.

Describe what you expected to happen

New lines should not be added.

Logfile

No errors in the Logfile.
log.txt

NOTE: It is not duplicate of/ similar to #5025, which is actually a turndown issue, whereas in this case, the HTML passed to turndown is wrong, so seems to be a TinyMCE editor issue.

@Subhra264 Subhra264 added the bug It's a bug label Jun 2, 2021
@stale
Copy link

stale bot commented Jul 2, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Jul 2, 2021
@stale
Copy link

stale bot commented Jul 10, 2021

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests

1 participant