[Pushed] Font Size with numbers
#1
Currently we have 7 options at the editor toolbar for the font size:
  • xx-small
  • x-small
  • small
  • medium
  • large
  • x-large
  • xx-large
However, it seems to be possible to use font sizes with numbers in source edit mode. Eg.:
[size=5]Some text.[/size]
Which results in: Some text.
Problem is, while the MyBB parsing supports this when we click Preview or Post, the editor does not support it, and the size tag is removed after clicking Preview or switching to wysiwyg mode.

Another bizarre thing is that negative numbers are allowed in the size tag. Eg.:
[size=-5]Some text.[/size]
Which results in: Some text.

Worst of all, the text can even be made invisible when using values such as -10. Eg.:
[size=-10]Some text.[/size]
Which results in: Some text.
Reply
#2
test

Well... That certainly worked.

I can confirm the issue here. The size code was removed upon full-editing this post.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply
#3
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2217

Thanks for contributing to MyBB!

Regards,
The MyBB Group
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)