Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Oembed Field

Go to End



Community Member, 44 Posts

20 February 2013 at 12:25pm

I would like to create an oembed field on a dataobject. I essentially would like a HTMLEditorField with no functionality other than the media insertion button.

I found the following in the Rich Text Editing docs, but am not sure where to take it from there ( or even if this is the right way to approach the issue ): HtmlEditorConfig::get('cms')->removeButtons('tablecontrols', 'blockquote', 'hr');

Can anyone point me in the right direction on this? Thanks.