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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


643 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.