nova-editor-js icon indicating copy to clipboard operation
nova-editor-js copied to clipboard

Edit header toolSettings levels

Open desaintflorent opened this issue 2 years ago • 0 comments

Hello,

Is it possible to edit the header tool levels ? I want to disable H1 and I tried this but it's stil allowing H1 when editing :

'toolSettings' => [
        'header' => [
            'activated' => true,
            'placeholder' => 'Header',
	    'defaultLevel'=> 3,
	    'levels'=> [2, 3, 4, 5],
            'shortcut' => 'CMD+SHIFT+H'
        ],
        ...

desaintflorent avatar Feb 09 '23 12:02 desaintflorent