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.

General Questions /

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

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

Oembed Field


Reply


276 Views

Avatar
tv

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.