Files
odoo_source/addons/website/views/snippets/s_button.xml
T
VAN BOSSUYT Nicolasandbvr-odoo 507b80a125 [IMP] web_editor, website: add button/video/image as building block
This commit introduces 3 new inner snippets: button, image and video.

What sets these snippets apart is that, once dropped onto the page, they
transform into basic HTML code, just like if they were created using the
editor (no data-snippet etc).

task-3248881

closes odoo/odoo#126717

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: bvr-odoo <bvr@odoo.com>
2023-10-15 12:39:20 +00:00

9 lines
181 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_button" name="Button">
<a class="btn btn-primary o_snippet_drop_in_only" href="#">Button</a>
</template>
</odoo>