There's been a few related issues:
#75
#117
#123
#202
And a few pull requests:
#187
#240
It's now possible to configure Trix to use a <p> tag instead of <div> with:
Trix.config.blockAttributes.default.tagName = 'p'
However, it's still not possible to configure Trix so that when I press Enter it creates a new paragraph instead of inserting a <br> tag. I'm aware of the issue with the <figure> tag which can't be put inside a paragraph and stay a valid HTML, however I'm not using images (and if I was I would just do it without using the <figure> tag). I don't say that creating a new paragraph on Enter should be the default but there should at least be an option. For example, the breakOnReturn option like proposed in pull request 187.
iTunes only supports the following tags: <p>, <ol>, <ul>, <li> and <a>. No other tag is supported, and this includes the <br> tag as far as I know. It would be really great if someone could have a fresh new look at that issue. Especially as it has been asked by numerous people already, and code was provided multiple times but no solution ever gets merged.
There's been a few related issues:
#75
#117
#123
#202
And a few pull requests:
#187
#240
It's now possible to configure Trix to use a
<p>tag instead of<div>with:However, it's still not possible to configure Trix so that when I press Enter it creates a new paragraph instead of inserting a
<br>tag. I'm aware of the issue with the<figure>tag which can't be put inside a paragraph and stay a valid HTML, however I'm not using images (and if I was I would just do it without using the<figure>tag). I don't say that creating a new paragraph on Enter should be the default but there should at least be an option. For example, thebreakOnReturnoption like proposed in pull request 187.iTunes only supports the following tags:
<p>,<ol>,<ul>,<li>and<a>. No other tag is supported, and this includes the<br>tag as far as I know. It would be really great if someone could have a fresh new look at that issue. Especially as it has been asked by numerous people already, and code was provided multiple times but no solution ever gets merged.