editor-js / quote

Quote Tool for Editor.js 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to hide the caption

literakl opened this issue · comments

I prefer to have quote tool without the caption as it consumes too much space. Would you add a configuration option to hide it?

Btw is this correct that the empty caption is generated?

{
  "type": "quote",
  "data": {
    "text": "a",
    "caption": "",
    "alignment": "left"
  }
}

+1 on this. Would really help to hide the caption.

May not be elegant, but it works:

.cdx-input.cdx-quote__caption, .cdx-input.image-tool__caption {
          display: none !important;
}