Closed good-idea closed 9 years ago
+1
I also had this problem but solved it by hyphenating 'first-header' and 'second-header' in my blueprints, e.g.:
fields:
richtext:
label: Text
type: wysiwyg
first-header: h2
second-header: h3
Strange, this didn't do the trick for me - it's still giving me h5 and h6. just styling them differently for now.
Same here. I get h5 and h6 by default
You can overwrite these settings in site/config/config.php
with the following settings:
c::set('field.wysiwyg.first-header', 'h1');
c::set('field.wysiwyg.second-header', 'h2');
But I am wondering too why h5
and h6
are set as default in site/fields/wysiwyg/wysiwyg.php
. So I created a Pull Request to make h1
and h2
as default according to the default h1
and h2
buttons in the editor.
See Pull Request: https://github.com/storypioneers/kirby-wysiwyg/pull/17
changed in current master
I'm having a problem with the H1 and H2 buttons in the editor - no matter how I mess around with the config or blueprint settings, they always give me
##### this
and###### this
I'm having the same issue in several installations of kirby. Anything I can do?