ether / ep_inline_toolbar

An inline toolbar for Etherpad
Other
3 stars 5 forks source link

Publish Status Backend Tests Status

Screenshot

Inline toolbar for Etherpad

A simple way to add the toolbar buttons inline on the editor. These buttons only appear when you highlight text.

Usage

To change the visible buttons, the buttons must be added to settings.json in the toolbar section as a section called inline else all formatting buttons will be visible.

For example..

  "toolbar": {
    "left": [
      ["bold", "italic", "underline", "strikethrough"],
      ["orderedlist", "unorderedlist", "indent", "outdent"],
      ["undo", "redo"],
      ["clearauthorship"]
    ],
    "right": [
      ["importexport", "timeslider", "savedrevision"],
      ["settings", "embed"],
      ["showusers"]
    ],
    "timeslider": [
      ["timeslider_export", "timeslider_returnToPad"]
    ],
    "inline":[["bold", "italic"]]
  },

The above example will make bold and italic show up inline.

License

Apache 2