I'm having a weird issue with the OEmbed Picker.
I'm using it on a block for the blockgrid-editor, in Umbraco 10(.4).
So I have an element-type, with only 1 property. That's the OEmbedPicker.
I also have a composition with my BlockGrid Editor, and I have several doctypes using this composition.
It all works like a charm on almost all doctypes, except for 2.
They are seemingly regular doctypes, using some of the same compositions the other doctypes are using.
But when I try to add the elementtype to the grid-content, the picker stays grey.
I've tried this on multiple positions within my tree, but it all comes down to these two doctypes. All other doctypes are working fine. I can add the element to the blockgrid, and click on the picker.
What are common reasons for this editor to stay grey? I don't get a console error or something.
So if I understand correctly you have a composition where you have a block grid editor property on (and maybe others).
You added that to several doctypes as a composition.
When you try to add a block that has the embed picker to the block grid on it on a page of a doctype using that composition the Oembed picker stays gray ?
And I'm just trying to find a reason why some pages have this problem.
At this point, I have a new doctype:
"My Page"
It has a BlockGrid property via a composition, and a seperate EmbedPicker.
If I create a new "My Page" node, the EmbedPicker-field works fine, but the one in the BlockGrid does not. The rectangle with dashed border and + in the middle stays grey.
If I create a new "Textpage" node (which contains the same Composition with the BlockGrid property), I can add the "video block" with the EmbedPicker and it works fine.
Just as a test, I've copied the "dtJobOverview" doctype (from the screenshot), and it had the same problem.
I then:
Changed the Alias
Changed the name
Removed ALL compositions
Removed the template
Changed "Allow vary by culture"
And still, the EmbedPicker is disabled via the BlockGrid. I can't find any reason why it would be disabled.
Reasons why OEmbedPicker is greyed out?
Hi there,
I'm having a weird issue with the OEmbed Picker. I'm using it on a block for the blockgrid-editor, in Umbraco 10(.4).
So I have an element-type, with only 1 property. That's the OEmbedPicker.
I also have a composition with my BlockGrid Editor, and I have several doctypes using this composition.
It all works like a charm on almost all doctypes, except for 2. They are seemingly regular doctypes, using some of the same compositions the other doctypes are using.
But when I try to add the elementtype to the grid-content, the picker stays grey.
I've tried this on multiple positions within my tree, but it all comes down to these two doctypes. All other doctypes are working fine. I can add the element to the blockgrid, and click on the picker.
What are common reasons for this editor to stay grey? I don't get a console error or something.
Hi Jeroen,
Can you show your doctype setup ?
Dave
Hi Dave,
what's the best way to show that? It's a bunch of compositions, so it's not that easy to make screenshots or type it out.
edit: maybe something like this?
The doctype not working: https://ibb.co/3NQCZ1L
The elementtype used in the grid: https://ibb.co/1ZntHmr
Hi Jeroen,
Probably some screenshot of your config.
And where it goes wrong.
Dave
I just editted the post below with 2 screenshots.
Hi Jeroen,
So if I understand correctly you have a composition where you have a block grid editor property on (and maybe others).
You added that to several doctypes as a composition.
When you try to add a block that has the embed picker to the block grid on it on a page of a doctype using that composition the Oembed picker stays gray ?
Dave
Correct.
And I'm just trying to find a reason why some pages have this problem.
At this point, I have a new doctype: "My Page" It has a BlockGrid property via a composition, and a seperate EmbedPicker.
If I create a new "My Page" node, the EmbedPicker-field works fine, but the one in the BlockGrid does not. The rectangle with dashed border and + in the middle stays grey.
If I create a new "Textpage" node (which contains the same Composition with the BlockGrid property), I can add the "video block" with the EmbedPicker and it works fine.
Just as a test, I've copied the "dtJobOverview" doctype (from the screenshot), and it had the same problem. I then:
And still, the EmbedPicker is disabled via the BlockGrid. I can't find any reason why it would be disabled.
Well, I might just be answering my own question :)
The "dtJobOverview" doctype didn't "Allow vary by culture", while my site had 2 languages available.
So:
This way, the editor is disabled (eventhough I was working in the "default language").
When I turned on "Allow vary by culture" on the doctype, the EmbedPicker was enabled in the BlockGrid.
Strange problem, but I guess it's an Umbraco-thing, and not an EmbedPicker thing.
Anyway, thank you for your fast responses!
Hi Jeroen,
I was already thinking it had something to with culture variations and the UI not responding correctly to that.
Glad to hear you find a solution to your problem.
Dave
is working on a reply...