-
Notifications
You must be signed in to change notification settings - Fork 857
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
Create the attributeBuilder method #7
Comments
We are trying to understand what you mean. |
Could you provide an example on what type of customization? Thank you! |
If attributeBuilder is provided, how do you plan to use it? |
quill web has built-in checked ? |
Currently we only support _NumberPoint and _BulletPoint |
Ok, if check is in official delta string, we can support that. |
thanks, i will send a pull request |
Let's break it into two changes. |
Also please add the json string in https://github.com/singerdmx/flutter-quill/blob/master/app/assets/sample_data.json |
Hello @luscuissiatto ! I added an attribute for check-in lib/models/documents/attribute.dart, we're also working on implementing the corresponding button in toolbar. We're happy to help implement the feature as some details such as on tap to check or uncheck may be a little tricky. Thank you! |
Here is where the attribute is added : 4e61982 |
Hello @luscuissiatto , we've implemented the check box attribute for lists here : 170f3c6, feel free to check the commit and test it out! Thanks! |
@li3317 I think you forgot to include change for editor.dart |
Yes thanks for reminding, here's the commit : dfdd1b7 , thanks! |
@luscuissiatto @li3317 check out 1913136 |
Closing. |
@singerdmx thank you so much |
if it's possible to use your own symbols for lists? For example, squares. Right now the implementation is only for lists with bullets, numbers and checkboxes. |
Is it possible to create an attributeBuilder method that works just like embedBuilder? I have the code below, but I can't customize the view
{ "attributes": { "list": "checked" }, "insert": "\n" }, { "attributes": { "list": "unchecked" }, "insert": "\n" }
The text was updated successfully, but these errors were encountered: