Having a TinyMCE-Editor, it gives me as output proper html tags like h1, h2, b, ul, ol, li.
Like this:
However, when I want to render exactly the output of TinyMCE in my own frontend, which is consisting of TailWindCSS or Bootstrap, every style of every html-tag looks very plain with same size, same margin, same padding, as it would be in a normal text-element.
I found out, that these CSS-frameworks use something like "normalize-css" to achieve this look. However, how can I restore the CSS-styles of TinyMCE in my frontend although I am using Tailwind and/or BootstrapCSS?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…