medium inspired editor popover.
Install with component(1):
$ component install yields/redact-popover
Initialize RedactPopover
with contenteditable el
.
Add action id
with optional label
.
the id will be the element class.
Remove action id
.
Get action id
.
this method is called whenever you add()
or remove()
an option in order to cache the <popover>
size.
if you do something that will change the size (like hide individual actions) call this method.
component/tip
instance.
component/classes
instance.
component/events
instance.
MIT