Ngx-quill: Where do I get quill.snow.css from?

Created on 10 Jan 2017  Â·  11Comments  Â·  Source: KillerCodeMonkey/ngx-quill

Hi again,

I don't want to use the Quill CDN for quill.snow.css and would like to reference it from the Node modules in my angualar-cli json file so it is packaged in WebPack. However, I can't seem to find it in ngx-quill or quill - where can I find it?

Most helpful comment

Add to styles.css

@import '~quill/dist/quill.core.css';
@import '~quill/dist/quill.bubble.css';
@import '~quill/dist/quill.snow.css';

All 11 comments

You can find the minified css and js in node_modules/quill/dist/.

Ah yes, sorry, my search didn't pick that up.

quill.snow.css can be added to .angular-cli.json like this:

      "styles": [
        "../node_modules/quill/dist/quill.snow.css",
        "styles.scss"
      ],

Great should be added to README

Feel free to send a PR. Because i will Not add this ;). Because i am Not
responsible to Guide You, how to Use Your Tools ;).

hajder notifications@github.com schrieb am Mi., 9. Mai 2018, 12:38:

Great should be added to README

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/8#issuecomment-387697837,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACKOYDPqil27VKwRWsnGEjouJUU3S7Nfks5twscvgaJpZM4Lfle_
.

Isn't the CSS required for the editor to render correctly? Without it I couldn't get decent output in the browser.

sure but adding it to the angular-cli.json is angular-cli specific.. if you have a simply webpack project, you could add it in the webpack.config or import it in your ts file. or import it in one of your stylesheets...

so many ways and i am not a babysitter to guide everyone, how to add 3rd party stylesheets to a project...

There are other buildtools like rollup, pascal.js... so it is not my business ;)

read the readme carfully:
do not forget to include quill + theme css in your buildprocess, module or index.html!

It's up to you if you'd like to include more guides in order to enhance the user experience for your lib :)

And it is up to You to participate on an open Source project ;)

hajder notifications@github.com schrieb am Mi., 9. Mai 2018, 17:29:

It's up to you if you'd like to include more guides in order to enhance
the user experience for your lib :)

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/8#issuecomment-387778612,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACKOYMQ8jCtSXrrsMpoKE5ebcHg62jwZks5twws8gaJpZM4Lfle_
.

Add to styles.css

@import '~quill/dist/quill.core.css';
@import '~quill/dist/quill.bubble.css';
@import '~quill/dist/quill.snow.css';

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jadamconnor picture jadamconnor  Â·  5Comments

Fzwael picture Fzwael  Â·  3Comments

SebastianPodgajny picture SebastianPodgajny  Â·  4Comments

MarkusLei22 picture MarkusLei22  Â·  5Comments

swymmwys picture swymmwys  Â·  5Comments