Hi.
My problem is that the WYSIWYG is currently "you don't get what you see" and here is the example

this is written in Angular 8 with the newest version of Quill editor.
Why is the new line a <p>?
<p> is styled by the browser by default:

Is this actually a bug or a feature? :P
Thank you.
depends on your project.
you need to include quilljs css when you work with html-content,
because like you posted... not the quilljs css is used ;-).
So it is a bug in your usage :D.
quilljs only adds classes to the output html-tags, so if you do not include quilljs css in your page where you want to show the editor content your styling or the default browser styling will be applied - like margin-bottom of 1rem per p-tag.
It is possible to switch to inline styling with quilljs, but i do not recommend it:
https://quilljs.com/guides/how-to-customize-quill/#class-vs-inline
And in my demo:
https://killercodemonkey.github.io/ngx-quill-example/
you see (Format - HTML example). That it is possible to "wysiwyg" :-)
Sorry that is not the solution because the text is displayed in another project... there is no quill css imported... and imo the <p> tag is not the correct way to get a line-break (</br>?)
Maybe just implement a button to make a paragraph :D
like i said.. i only provide this angular wrapper for quilljs.. and quilljs is working this way.
Or like i said use inline styling to store all styles inline in the html you store in your db. ;-)
Hey @KillerCodeMonkey
is this possible in some way?
https://codepen.io/quill/pen/VjgorV
the example is from here:
https://github.com/quilljs/quill/issues/861#issuecomment-239961806
sure i am doing it actually in my demo repo :D.
In general you can do it, like it is done with native quilljs.
dude this is not stack overflow and nobody can help you by looking on screenshots...
just check my demo repo.. it is working there.
bisschen netter kann man trotzdem sein ;)
das hat doch nix mit nett oder nicht nett zu tun ;-). War eine ganz normale Aussage :D