ep_inline_toolbar

0.2.16 • Public • Published

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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i ep_inline_toolbar

    Weekly Downloads

    3

    Version

    0.2.16

    License

    none

    Unpacked Size

    17.3 kB

    Total Files

    13

    Last publish

    Collaborators

    • johnyma22
    • rhansen0
    • gared
    • 0ip
    • framasky