Wednesday, April 4, 2018

SharePoint Online - Change default font in multi-line text field

To change the default value in multi-line rich text fields, include this CSS in your page


.ms-rtestate-write {
    color: black !important;
    cursor: text !important;
    font-family: arial !important;
    font-size: 12pt !important;
    min-height: 1em !important;
}
If you don't include the !important tag, it won't override the default CSS.


Source: https://sharepoint.stackexchange.com/questions/90948/use-consistent-font-and-font-size-when-pasting-into-sharepoint-rich-text-field

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.