AI OnAI Off
Hi Linus,
Thank you for your response.
Have you a more detailed code sample to follow on this?
Thanks
Adam
[UIDescriptorRegistration]
public class SitePageUIDescriptor : UIDescriptor, IEditorDropBehavior
{
public SitePageUIDescriptor()
{
EditorDropBehaviour = EditorDropBehavior.Undefined;
}
public EditorDropBehavior EditorDropBehaviour { get; set; }
}
Hi all,
We currently have a TinyMCE property on a page.
The editor is able to drag blocks into the editor, which is fine.
However, the only concern here is that the editor is able to drag any block into the editor. What if we have a block that we dont want the editor to use within TinyMCE?
Has anyone come up against this before? Is there a way to restrict certain blocks being used in TinyMCE?
Thanks in advance,
Adam