-
Notifications
You must be signed in to change notification settings - Fork 118
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
How to change text color? #819
Comments
Any answer for that? |
Aztec inherits from Will close this ticket now. |
Oh, I see. The way Aztec supports rendering individual colored words/characters is via inline CSS in the HTML input. See these tests for examples: https://github.com/wordpress-mobile/AztecEditor-Android/blob/develop/aztec/src/test/kotlin/org/wordpress/aztec/HtmlAttributeStyleColorTest.kt#L35-L42. |
Can Aztec have a button with a pallete for choosing the color? |
From a design point of view, yes, I think it could. From the implementation side, I think it could take some effort for those who'll implemented it to hook up the relevant Span classes to support adding/setting/removing while in editing mode. |
That would be awesome. |
@MrFuFuFu Could you please submit your code? I would like to have that capability. Or could you please give me a guide to do it? |
@duyvt88 thanks for asking. I did somehow managed to change the color, but somehow, it doesn't work as I expected. I'm now using https://github.com/wasabeef/richeditor-android it works great and easy to manage. |
|
No description provided.
The text was updated successfully, but these errors were encountered: