Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2747 Lượt xem

Hi there,

After I saved a personalized block to my editor, I can not add any new block to my HOME page,  there is a messesge tells me that "No location to drop in" and when i try to drop some block JS throw me a exception:

UncaughtPromiseError > TypeError
Promesa desconocida > Cannot read properties of undefined (reading 'droppable')
TypeError: Cannot read properties of undefined (reading 'droppable')
at jQuery.fn.init.stop (https://seleccion-estricta-sl.odoo.com/web/assets/1300-d170b51/1/web_editor.assets_wysiwyg.min.js:1519:12)
at Class._onSmoothDragStop (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:5008:1050)
at HTMLDivElement.stop (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:4988:949)
at $..._trigger (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:2023:75)
at $..._trigger (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:2162:36)
at $..._trigger (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:1993:159)
at $..._mouseStop (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:2095:373)
at $..._mouseStop (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:1993:159)
at $..._mouseUp (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:2072:6)
at $..._mouseUp (https://seleccion-estricta-sl.odoo.com/web/assets/1296-f89675c/1/web.assets_common_lazy.min.js:1993:159)

And the customer support is telling me that the error is caused because I have changed my HTML code so I need solve this myself, when I did not change anything of the HTML code.

Thanks for help

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The problem is that your snipped cannot be droped anywere on the page.
To solve that, in my case, I had to put all the content of my snipped template in a section ele


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Try redo your block and be sure to follow the instruction of building a block, your block is missing some elements.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thx for answer,
but I can not even drop any default block

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 9 25
2299
Login Website Đã xử lý
3
thg 10 25
149265
1
thg 9 25
1538
4
thg 9 25
6303
2
thg 8 25
1575