Skip to content
Discussion options

You must be logged in to vote

To add underline support:
1. In src/app-components/notes.js, update the toolbar:
javascript<br>const toolbarOptions = [['bold', 'italic', 'underline'], ['link', 'image']];<br>
2. Add CSS in src/styles/globals.css:
css<br>.ql-underline { text-decoration: underline; }<br>
3. Test with npm run dev and submit a pull request.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IsmailBinMujeeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants