TinyMCE myindent plugin with CSS classes
I'm working with TinyMCE from a while. It is awesome editor but have some disadvantages.
In editor we can configure only value like 30px
. In html code we get style tag with padding-left
, so it is not clean solution.
So I wrote some simple plugin for TinyMCE to fix this. My plugin added some shortcuts Tab
for indent and Shift+Tab
for outdent.
Could be configured:
{
filter: 'p,div,cite,code,td,pre,h1,h2,h3,h4,h5,h6,h7,figure,section,article,aside',
class : 'indent-'
}
Download plugin from git repository.