I want to use my snippet as an inner content so that I can drag and change it's position.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
You should check out data-drop-in and data-drop-near attributes of snippet options. I believe those are the attributes that lets you choose where the snippet should be added.
I'm adding a code snippet for reference.
<div data-selector=".o_mega_menu .nav > .nav-link"
data-drop-in=".o_mega_menu nav"
data-drop-near=".o_mega_menu .nav-link"/>
Hope it helps
For anyone who comes across this question in the future, here's a minimal example: https://gist.github.com/tmijail/de52b8289774583c04f9eac6f35eec81
I really value examining blog passages that make me think. I'd in like manner like to offer my gratitude for allowing me to comment on this site!
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký