editor.js/example/plugins/header/header.css
Taly 3d03461dc0
Header plugin (#281)
* header initial

* fix styles

* eslint fix

* add appendCallback

* add comments

* update styles

* add svgs

* highlight settings buttons

* do not show text plugin in the toolbar

* remove svg

* Fixing caret behaviour. (#282)

Plugins can change their state so that affect on Block's pluginsContent property which is in memory.

* remove useless code

* fix merge
2018-07-16 18:51:41 +03:00

24 lines
377 B
CSS

/**
* Plugin styles
*/
.ce-header {
padding: .7em 0;
margin: 0;
line-height: 1.4em;
outline: none;
}
.ce-header p,
.ce-header div{
padding: 0 !important;
margin: 0 !important;
}
/**
* Styles for Plugin icon in Toolbar
*/
.cdx-header-icon {
background-image: url('icon.svg');
background-position: center center;
background-repeat: no-repeat;
}