jojko
05/15/2024, 2:03 PM.html
file to get the nice preview of the widget in a block grid. In v14 I assume that since web components are used, "Custom View" field should be pointed to one of them. I stumbled upon an extension type in an umbraco-package.json
called bockEditorCustomView
(I assume it's a typo and should be blockEditorCustomView
?), I've tried to use it and point to JS file with web component, and then pick it from the "Custom View" option in backoffice. However, there are only just a list of all files/folders shown and no block editor custom view that I defined in manifest. How can I acheve this in v14?
https://cdn.discordapp.com/attachments/1240303635796332556/1240303636181946420/image.png?ex=66461246&is=6644c0c6&hm=b5c3e626abef6cb1721814dd2f926e2bff5f4529d696c8c50db048e684c87319&rickbutterfield
05/15/2024, 2:45 PMrickbutterfield
05/15/2024, 2:47 PMblockEditorCustomView
as you've mentioned above, which I have tried to do for my BlockPreview package (see this [manifest](https://github.com/rickbutterfield/Umbraco.Community.BlockPreview/blob/feature/umbraco-14/src/Umbraco.Community.BlockPreview/assets/src/blockEditor/manifests.ts) and [actual custom view](https://github.com/rickbutterfield/Umbraco.Community.BlockPreview/blob/feature/umbraco-14/src/Umbraco.Community.BlockPreview/assets/src/blockEditor/block-preview.custom-view.ts))rickbutterfield
05/15/2024, 2:48 PMrickbutterfield
05/15/2024, 2:48 PMrickbutterfield
05/16/2024, 9:48 AMjojko
05/16/2024, 11:26 AMAaron Sawyer
07/01/2024, 4:06 PMrickbutterfield
07/01/2024, 4:06 PMAaron Sawyer
07/01/2024, 4:07 PMAaron Sawyer
07/01/2024, 4:07 PMrickbutterfield
07/01/2024, 4:07 PM