edtr-io / edtr-io

Edtr.io is an open source WYSIWYG in-line web editor written in React. Its plugin architecture makes Edtr.io lean and extensive at the same time.

Home Page:https://edtr.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expose settings for for text plugin

elbotho opened this issue · comments

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)

The text plugin already allows you to enable / disable features via its config, see

Do you need to disable addition features (if so, which?)

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