expose settings for for text plugin
elbotho opened this issue · comments
Botho commented
- for plugins we sometimes we need the option to have formating (so a simple input is not enough), but not allow paragraphs. (formulas in headings for example)
- it would also really help if we could influence the options offered by slate. (e.g. disallow heading or bold for a certain field)
Jonas Keinholz commented
The text plugin already allows you to enable / disable features via its config, see
edtr-io/packages/plugins/text/src/index.tsx
Line 233 in 8e096cd
Botho commented
Ah I see so I could add a "new" plugin type to the frontend with a different config?
Missing options:
- disable bold
- disable italic
- basically inline the editor:
- so no paragraphs and line breaks
- no formulas in block mode
- no quotes
Jonas Keinholz commented