diff --git a/.all-contributorsrc b/.all-contributorsrc
index 8e0666234a72..bb075814c25b 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -957,6 +957,15 @@
"doc",
"ideas"
]
+ },
+ {
+ "login": "robertkarlsson",
+ "name": "Robert Karlsson",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/5166612?v=4",
+ "profile": "https://github.com/robertkarlsson",
+ "contributions": [
+ "bug"
+ ]
}
]
}
diff --git a/README.md b/README.md
index 582a601fd0fb..b9892af60722 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Netlify CMS
-[![All Contributors](https://img.shields.io/badge/all_contributors-109-orange.svg)](#contributors)
+[![All Contributors](https://img.shields.io/badge/all_contributors-110-orange.svg)](#contributors)
[![Open Source Helpers](https://www.codetriage.com/netlify/netlify-cms/badges/users.svg)](https://www.codetriage.com/netlify/netlify-cms)
[![](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/netlify/netlifycms)
@@ -78,7 +78,7 @@ These wonderful folks are responsible for developing and maintaining Netlify CMS
| [
Tim Carry](http://www.pixelastic.com/)
[π»](https://github.com/netlify/netlify-cms/commits?author=pixelastic "Code") [π¨](#design-pixelastic "Design") [π](https://github.com/netlify/netlify-cms/commits?author=pixelastic "Documentation") | [
Sol Park](https://github.com/solpark)
[π»](https://github.com/netlify/netlify-cms/commits?author=solpark "Code") | [
Michael Romani](https://github.com/MichaelRomani)
[π»](https://github.com/netlify/netlify-cms/commits?author=MichaelRomani "Code") | [
Xifeng Jin](http://linkedin/in/xifengjin88)
[π](https://github.com/netlify/netlify-cms/issues?q=author%3Axifengjin88 "Bug reports") [π»](https://github.com/netlify/netlify-cms/commits?author=xifengjin88 "Code") | [
Pedro Duarte](http://pedroduarte.me)
[π](https://github.com/netlify/netlify-cms/issues?q=author%3Apeduarte "Bug reports") [π»](https://github.com/netlify/netlify-cms/commits?author=peduarte "Code") [π](https://github.com/netlify/netlify-cms/commits?author=peduarte "Documentation") | [
Antonio Argote](http://antonioargote.com)
[π¨](#design-Strangehill "Design") | [
Kristaps Taube](https://www.ktaube.com)
[π»](https://github.com/netlify/netlify-cms/commits?author=ktaube "Code") |
| [
David Ko](https://github.com/daveyko)
[π»](https://github.com/netlify/netlify-cms/commits?author=daveyko "Code") | [
IΓ±aki GarcΓa](http://www.txorua.com)
[π¨](#design-igarbla "Design") | [
Sam](https://github.com/gazebosx3)
[π»](https://github.com/netlify/netlify-cms/commits?author=gazebosx3 "Code") | [
Josh Dzielak](https://dzello.com)
[π](https://github.com/netlify/netlify-cms/commits?author=dzello "Documentation") | [
Jeremy Bise](http://thosegeeks.com)
[π](https://github.com/netlify/netlify-cms/commits?author=jeremybise "Documentation") | [
terrierscript](https://terrierscript.com)
[π»](https://github.com/netlify/netlify-cms/commits?author=terrierscript "Code") | [
Christopher Geary](https://twitter.com/crgeary)
[π](#plugin-crgeary "Plugin/utility libraries") |
| [
Brian Macdonald](https://github.com/brianlmacdonald)
[π»](https://github.com/netlify/netlify-cms/commits?author=brianlmacdonald "Code") | [
John Vandenberg](https://jayvdb.github.io/)
[π](https://github.com/netlify/netlify-cms/commits?author=jayvdb "Documentation") | [
MarkZither](https://github.com/MarkZither)
[π](https://github.com/netlify/netlify-cms/commits?author=MarkZither "Documentation") | [
Rob Phoenix](https://www.robphoenix.com)
[π](https://github.com/netlify/netlify-cms/commits?author=robphoenix "Documentation") | [
Steve Lathrop](https://www.SteLa.io)
[π»](https://github.com/netlify/netlify-cms/commits?author=slathrop "Code") [π](https://github.com/netlify/netlify-cms/commits?author=slathrop "Documentation") [π‘](#example-slathrop "Examples") | [
Maciej Matuszewski](https://github.com/maciejmatu)
[π»](https://github.com/netlify/netlify-cms/commits?author=maciejmatu "Code") | [
Eko Eryanto](https://github.com/ekoeryanto)
[π](#plugin-ekoeryanto "Plugin/utility libraries") |
-| [
Taylor D. Edmiston](http://blog.tedmiston.com/)
[π](https://github.com/netlify/netlify-cms/commits?author=tedmiston "Documentation") | [
Daniel Mahon](https://www.mahonstudios.com)
[π»](https://github.com/netlify/netlify-cms/commits?author=danielmahon "Code") | [
Evan Hennessy](https://www.hennessyevan.com)
[π](#plugin-hennessyevan "Plugin/utility libraries") | [
Hasan Azizul Haque](https://hasanavi.me)
[π»](https://github.com/netlify/netlify-cms/commits?author=hasanavi "Code") [π](https://github.com/netlify/netlify-cms/commits?author=hasanavi "Documentation") [π€](#ideas-hasanavi "Ideas, Planning, & Feedback") |
+| [
Taylor D. Edmiston](http://blog.tedmiston.com/)
[π](https://github.com/netlify/netlify-cms/commits?author=tedmiston "Documentation") | [
Daniel Mahon](https://www.mahonstudios.com)
[π»](https://github.com/netlify/netlify-cms/commits?author=danielmahon "Code") | [
Evan Hennessy](https://www.hennessyevan.com)
[π](#plugin-hennessyevan "Plugin/utility libraries") | [
Hasan Azizul Haque](https://hasanavi.me)
[π»](https://github.com/netlify/netlify-cms/commits?author=hasanavi "Code") [π](https://github.com/netlify/netlify-cms/commits?author=hasanavi "Documentation") [π€](#ideas-hasanavi "Ideas, Planning, & Feedback") | [
Robert Karlsson](https://github.com/robertkarlsson)
[π](https://github.com/netlify/netlify-cms/issues?q=author%3Arobertkarlsson "Bug reports") |
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
diff --git a/src/components/EditorWidgets/Markdown/MarkdownControl/VisualEditor/Shortcode.js b/src/components/EditorWidgets/Markdown/MarkdownControl/VisualEditor/Shortcode.js
index 346ea3e2e1ba..0bb807a5ab27 100644
--- a/src/components/EditorWidgets/Markdown/MarkdownControl/VisualEditor/Shortcode.js
+++ b/src/components/EditorWidgets/Markdown/MarkdownControl/VisualEditor/Shortcode.js
@@ -66,6 +66,7 @@ class Shortcode extends React.Component {
onOpenMediaLibrary,
onRemoveInsertedMedia,
} = this.props;
+ if (field.get('widget') === 'hidden') return null;
const value = shortcodeData.get(field.get('name'));
const key = `field-${ field.get('name') }`;
const Control = getEditorControl();