- Affected version
- v2.2.16
Pasting a piece of text copied from websites, for example, the title of a YouTube video (which has heading tags of h1,h2,h3... seen from the inspect element tool).
In the forum text box, it doesn't allow the copied text to be unbolded or rebolded.
Working locally via the inspect element tool, I was able to fix this issue by applying a style tag encompassing all heading tags h1-7 and changing the font-weight value to normal.
E.g:
<style> h1,h2,h3,h4,h5,h6,h7 {font-weight: normal} </style>
This allowed the new pasted Text to be bolded and unbolded.
I wanted to now incorporate this change through the XenForo custom BB code to my forum, or change any existing code for its corresponding function. Or I'll be happy if a new solution is suggested.
Thanks in advance.
In the forum text box, it doesn't allow the copied text to be unbolded or rebolded.
Working locally via the inspect element tool, I was able to fix this issue by applying a style tag encompassing all heading tags h1-7 and changing the font-weight value to normal.
E.g:
<style> h1,h2,h3,h4,h5,h6,h7 {font-weight: normal} </style>
This allowed the new pasted Text to be bolded and unbolded.
I wanted to now incorporate this change through the XenForo custom BB code to my forum, or change any existing code for its corresponding function. Or I'll be happy if a new solution is suggested.
Thanks in advance.