mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed default tag override not working on edits for html input component
no refs - we added a default tag override for basic html input component, but the edit mode was still using `p` as the tag irrespective of default set, which caused switching back to p tag when editing the component
This commit is contained in:
parent
57b318de52
commit
5e01b94bb1
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export default Component.extend({
|
|||
let cards = this.cards || [];
|
||||
|
||||
return assign({
|
||||
html: `<p>${this.cleanHTML || ''}</p>`,
|
||||
html: `<${this.defaultTag}>${this.cleanHTML || ''}</${this.defaultTag}>`,
|
||||
placeholder: this.placeholder,
|
||||
spellcheck: this.spellcheck,
|
||||
autofocus: this.autofocus,
|
||||
|
|
Loading…
Add table
Reference in a new issue