addons/html_editor/static/src/others/embedded_components/backend/caption/caption.xml
raw| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <templates> |
| 3 | <!-- caption template --> |
| 4 | <t t-name="html_editor.EmbeddedCaption"> |
| 5 | <input t-attf-class="border-0 p-0" |
| 6 | t-ref="captionInput" type="text" maxLength="100" t-att-placeholder="'Write your caption here'" |
| 7 | t-on-blur="onInputBlur" t-on-keydown.stop="" t-on-beforeinput="onInputBeforeInput" t-on-keyup="onInputKeyup" |
| 8 | t-att-value="state.caption"/> |
| 9 | </t> |
| 10 | </templates> |