You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code Embed provides a very easy and efficient way to embed code (JavaScript and HTML) in your posts and pages.
12
12
13
-
== Description ==
13
+
== Description ==
14
+
15
+
**Note for users of WordPress 5.0 and above: please see the FAQ for details on using this plugin with Gutenberg**
14
16
15
17
Code Embed allows you to embed code (JavaScript and HTML - it can't be used for server-side code, such as PHP) in a post, without the content being changed by the editor. This is incredibly useful for embedding third-party scripts, etc. The plugin is used by many large sites, including Mozilla.
16
18
@@ -37,6 +39,8 @@ Technical specification...
37
39
38
40
Please visit the [Github page](https://github.com/dartiss/code-embed "Github") for the latest code development, planned enhancements and known issues.
39
41
42
+
Icons made by [Freepik](https://www.flaticon.com/authors/freepik "Freepik") from [www.flaticon.co](https://www.flaticon.com/ "Flaticon") is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0 "Creative Commons BY 3.0").
43
+
40
44
== Getting Started ==
41
45
42
46
Here's how easy it is to use…
@@ -148,7 +152,13 @@ Code Embed can be found and installed via the Plugin menu within WordPress admin
148
152
149
153
Voila! It's ready to go.
150
154
151
-
== Frequently Asked Questions ==
155
+
== Frequently Asked Questions ==
156
+
157
+
== Can I use this plugin with the new editor (aka Gutenberg) / WordPress 5.0 and above? ==
158
+
159
+
The new editor (Gutenberg) removes the custom fields meta box and, as a result, you are unable to add or edit existing code embeds. However, the plugin will continue to work, in all other ways.
160
+
161
+
However, a rather smart plugin named [Custom Fields for Gutenberg](https://wordpress.org/plugins/custom-fields-gutenberg/) will add this functionality back in - with that active, you can happily continue to use this plugin, even with WordPress 5.0 or later.
152
162
153
163
= My code doesn't work =
154
164
@@ -166,10 +176,6 @@ If you still can't find it then you may have a theme or plugin that removes this
166
176
167
177
WordPress stores the custom field contents in a MySQL table using the `longtext` format. This can hold over 4 billion characters.
168
178
169
-
== Does this work with Gutenberg? ==
170
-
171
-
Right now, no, as the custom fields meta box will not be present. However, a rather smart plugin named [Custom Fields for Gutenberg](https://wordpress.org/plugins/custom-fields-gutenberg/) will add this functionality back in - with that active, you can happily continue to use this plugin.
172
-
173
179
== Is this GDPR compliant? ==
174
180
175
181
It is, in that it doesn't save any data that could be odds with GDPR compliance (i.e. it's compliant by design). However, if you use this to embed third-party scripts, then those scripts may not be and you will need to speak to the providers for further details.
0 commit comments