Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why quill using class in html? #1093

Closed
ibrahimyilmaz7 opened this issue Nov 1, 2016 · 5 comments
Closed

Why quill using class in html? #1093

ibrahimyilmaz7 opened this issue Nov 1, 2016 · 5 comments

Comments

@ibrahimyilmaz7
Copy link

I'm using quill for getting html on web and use its on mobile app. But some properties (align, size) not working because html value is:

<p class="ql-align-center">Hakkımızda Sayfası Başlığı</p>

I need pure html without any class dependencies. Any suggestion?

@benbro
Copy link
Contributor

benbro commented Nov 1, 2016

See SizeStyle as an example of how to use inline style.

@ibrahimyilmaz7
Copy link
Author

How about colors, text align vs? Also size array like:

["10px", "13px", "15px" ,"18px", "20px", "30px", "50px" ]

@benbro
Copy link
Contributor

benbro commented Nov 1, 2016

Color use inline style by default.
You can replace the default align class format with a style format
I don't understand what you mean by size array.

@ibrahimyilmaz7
Copy link
Author

I mean using custom font-size array (except 13px, normal, 18px, 32px).

@benbro
Copy link
Contributor

benbro commented Nov 1, 2016

The SizeStyle format has a whitelist with ['10px', '18px', '32px'].
You can create a custom format if you need other options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants