Created
June 10, 2020 23:11
-
-
Save lindseybradford/6e3927ae030974b5c78fbfbcea7ac6d9 to your computer and use it in GitHub Desktop.
Redactor Configs Semanticly Ranked Headings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"buttons": [ | |
"formatting", | |
"bold", | |
"italic", | |
"unorderedlist", | |
"orderedlist", | |
"link", | |
"image", | |
"line", | |
"video" | |
], | |
"plugins": [ | |
"fullscreen", | |
"video" | |
], | |
"linkNewTab": true, | |
"toolbarFixed": true, | |
"formattingHide": [ | |
"h1", | |
"h2", | |
"h3", | |
"h4", | |
"h5", | |
"h6" | |
], | |
"formattingAdd": { | |
"h1": { | |
"title": "Heading 1", | |
"api": "module.block.format", | |
"args": { | |
"tag": "h2", | |
"class": "heading-lg", | |
"type" : "toggle", | |
"style": { | |
"fontSize": "30px", | |
"fontWeight": "bold" | |
} | |
} | |
}, | |
"h2": { | |
"title": "Heading 2", | |
"api": "module.block.format", | |
"args": { | |
"tag": "h2", | |
"class": "heading-md", | |
"type" : "toggle", | |
"style": { | |
"fontSize": "24px", | |
"fontWeight": "bold" | |
} | |
} | |
}, | |
"h3": { | |
"title": "Heading 3", | |
"api": "module.block.format", | |
"args": { | |
"tag": "p", | |
"class": "heading-sm", | |
"type" : "toggle", | |
"style": { | |
"fontSize": "24px", | |
"fontWeight": "200" | |
} | |
} | |
}, | |
"h4": { | |
"title": "Heading 4", | |
"api": "module.block.format", | |
"args": { | |
"tag": "p", | |
"class": "heading-xs", | |
"type" : "toggle", | |
"style": { | |
"fontSize": "20px", | |
"fontWeight": "200" | |
} | |
} | |
}, | |
"h5": { | |
"title": "Heading 5", | |
"api": "module.block.format", | |
"args": { | |
"tag": "p", | |
"class": "heading-sub", | |
"type" : "toggle", | |
"style": { | |
"fontSize": "14px", | |
"fontWeight": "bold", | |
"textTransform": "uppercase" | |
} | |
} | |
} | |
} | |
} | |
Author
lindseybradford
commented
Jun 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment