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

Problem with combination of list and header #1100

Closed
Dani-Sto opened this issue Apr 21, 2020 · 1 comment
Closed

Problem with combination of list and header #1100

Dani-Sto opened this issue Apr 21, 2020 · 1 comment
Labels
bug:core Bug in core (trumbowyg.js)
Milestone

Comments

@Dani-Sto
Copy link

Hi Alex,

i have an issue with the combination of lists and headers.
When i mark a text as list and then mark it as header it becomes a list in a header. This seems to be fine. But when i change the header lets say from h1 to h2 the font becomes bigger. For every other change it gets bigger and bigger.

Description

  • OS: Mac High Sierra
  • Browser: Brave Version 1.7.92 Chromium: 80.0.3987.163 (Official Build) (64-bit)
  • Trumbowyg version: 2.21.0

How to reproduce?

  1. write text
  2. mark it
  3. format to list
  4. formate to h1
  5. format to h2
  6. this is the html result:

<p></p><h1><h2><ul><li>Some text</li></ul></h2></h1><p></p>

working example on the demo page: https://alex-d.github.io/Trumbowyg/

@Alex-D Alex-D added this to the v3.0 milestone Apr 21, 2020
@Alex-D Alex-D added the bug:core Bug in core (trumbowyg.js) label Apr 21, 2020
@Alex-D
Copy link
Owner

Alex-D commented Apr 21, 2020

You should not put any formatting block in list ^^'

I will not put effort to fix that in v2. I keep that as a note for v3 (see #875)

@Alex-D Alex-D closed this as completed Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:core Bug in core (trumbowyg.js)
Projects
None yet
Development

No branches or pull requests

2 participants