What is exactly is the difference between those two files, which are used by TinyMCE? I believe one is used for the Editor body itself, the other for the Styles dropdown?
The information I find on this subject isn't consistent.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
What is exactly is the difference between those two files, which are used by TinyMCE? I believe one is used for the Editor body itself, the other for the Styles dropdown?
The information I find on this subject isn't consistent.
editor.css is for what actually shows up in the editor while you're editing it. If you have:
h1{
color:red;
}
This will make all your H1 red in the editor only. After saving and publishing, it will not be red in the front end.
typography.css is what actually shows up the the front end but you need to wrap it around a typography class.