From 75d1663c9b0f2a190b4ffa3115d6e1c7c118253e Mon Sep 17 00:00:00 2001 From: Caleb Date: Fri, 20 Oct 2017 18:55:36 -0600 Subject: [PATCH] Update extending.md --- docs/extending.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extending.md b/docs/extending.md index 40265887..e87ee191 100755 --- a/docs/extending.md +++ b/docs/extending.md @@ -85,7 +85,7 @@ CMS.registerEditorComponent({ // Fields the user need to fill out when adding an instance of the component fields: [{name: 'id', label: 'Youtube Video ID', widget: 'string'}], // Pattern to identify a block as being an instance of this component - pattern: /^\s?youtube (\S+)\s?/, + pattern: /youtube (\S+)\s/, // Function to extract data elements from the regexp match fromBlock: function(match) { return {