question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random <br> tag on enter more than twice

See original GitHub issue

Describe the bug

In WYSIWYG mode, when you enter more than twice, any extra enter will be shown as <br> tag with TUIViewer.

To Reproduce

  1. Use WYSIWYG mode (not Markdown)
  2. Type anything and try to create multiple enters

Expected behavior

No <br> tag should be shown in TuiViewer

Screenshots

z

Additional context

한국사람입니다 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
XQDDcommented, May 18, 2020

I think it is a bug of wysiwyg mode, markdown mode will not act like this

I just call getHtml() and set it

Peek 2020-05-18 10-04

0reactions
XQDDcommented, May 18, 2020

Well, I think I should use getMarkdown() and set it, it work normally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Random <br /> tag appearing, no idea why [duplicate]
php so I have no idea where it is coming from. Even weirder, the header.php is included in my other pages and they...
Read more >
Quill, Shift-Enter and <br> tags
The reason two <br> tags are inserted is that otherwise the cursor doesn't go down to the following line. Don't ask me why...
Read more >
SugarCube v2 Documentation - Motoslave.net
Introduction. This documentation is a reference for SugarCube, a free (gratis and libre) story format for Twine/Twee.
Read more >
<br>: The Line Break element - HTML - MDN Web Docs - Mozilla
The HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division...
Read more >
What is the best alternative to repetitive typing of <br> tags in ...
If you are using multiple <br /> tags for having more space, then use margin-top or margin-bottom in CSS. Avoid <br /> tags....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found