cleverington / elegant

An OOP + ACF + Timber / TWIG based WordPress theme.
4 stars 0 forks source link

Feature: Customize TinyMCE #1

Open cleverington opened 2 years ago

cleverington commented 2 years ago

Background

Let's be honest, there's some dumb things in how TinyMCE is setup (by default) in WordPress.

Let's simplify some of them.

cleverington commented 2 years ago

Note: Will be checking a handful of themes like Flynt, Timber, and LeagleCup to see what (if any) customizations they add in by default.

cleverington commented 2 years ago

From Susan

Type 1 - System customizations

Do not 'link' to the image, link to a reference so the image loads better in Timber/TWIG.
"Paste as HTML" by default.

Type 2 - Style Customizations We may need to revisit these once the creative director starts, but just to get them out there:

Standard heading options
Headings with border - currently we're using a stylized horizontal rule
Accordion styles - single and multiple
Tab styles
Alert/warning/??? styles - need to look up what these are in the CSS
Blockquote
Address

Type 3 - Toolbar Customizations

View source would be a nice option, but I also think we shouldn't need it. Right?
Must have cut/copy/paste options
Spellchecker would be handy
Undo/Redo
Find and find/replace would be great
Select All also would be nice
Guessing WordPress has its own way for inserting images?
Definitely want table capabilities
Horizontal line
insert special characters - nice to have
insert iframe
insert qualtrics form
Bold/strong
Italic/emphasis
Underline
Strikethrough
Superscript
Subscript
Clear formatting option
bulleted lists (would be great to have nesting lists and the ability to choose from disc, circle, square, the usual options)
numbered lists (would be great to have nesting lists and the ability to choose from numbers, roman numerals either capped and lowercased, letters either caps or lowercased)
indent
outdent
align left, right, center
Text direction buttons
link, unlink, and anchor
Font: Can we get the two brand fonts added?
Size: Not sure about this one as I'm betting current implementations would render fixed font sizes. If relative, I'm game with having the sizes you showed me in the style sheet.
-Styles pulldown that accounts for headings, address, blockquote (?), etc.

Type 4 - Shortcodes

Nothing for now.