Open swengle opened 3 years ago
I have tried to set the font-size using customStyles, assigning it to the body and then .ql-container and then .ql-editor. None of them work and on ios, the font defaults to 13 it seems. How does one set the default font size for the editor?
Current setting.... customStyles={["body {font-size: 40px !important;}", ".ql-editor: {font-size: 40px !important;}", ".editor-container: {font-size: 40px !important;}"]}
You have to target editor-container, which is an id and not a class: customStyles={['#editor-container { font-size: 40px; }']}
editor-container
customStyles={['#editor-container { font-size: 40px; }']}
I have tried to set the font-size using customStyles, assigning it to the body and then .ql-container and then .ql-editor. None of them work and on ios, the font defaults to 13 it seems. How does one set the default font size for the editor?
Current setting.... customStyles={["body {font-size: 40px !important;}", ".ql-editor: {font-size: 40px !important;}", ".editor-container: {font-size: 40px !important;}"]}