The bold function not working on formatted copied and pasted text

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>...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ