Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes
File renamed without changes
Binary file added assets/Archive/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Archive/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 13 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
Contributors: dartiss
Tags: code, embed, html, javascript, script
Requires at least: 4.6
Tested up to: 4.9.6
Tested up to: 5.2.2
Requires PHP: 5.3
Stable tag: 2.3.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Code Embed provides a very easy and efficient way to embed code (JavaScript and HTML) in your posts and pages.

== Description ==
== Description ==

**Note for users of WordPress 5.0 and above: please see the FAQ for details on using this plugin with Gutenberg**

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.

Expand All @@ -37,6 +39,8 @@ Technical specification...

Please visit the [Github page](https://github.com/dartiss/code-embed "Github") for the latest code development, planned enhancements and known issues.

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").

== Getting Started ==

Here's how easy it is to use…
Expand Down Expand Up @@ -148,7 +152,13 @@ Code Embed can be found and installed via the Plugin menu within WordPress admin

Voila! It's ready to go.

== Frequently Asked Questions ==
== Frequently Asked Questions ==

== Can I use this plugin with the new editor (aka Gutenberg) / WordPress 5.0 and above? ==

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.

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.

= My code doesn't work =

Expand All @@ -166,10 +176,6 @@ If you still can't find it then you may have a theme or plugin that removes this

WordPress stores the custom field contents in a MySQL table using the `longtext` format. This can hold over 4 billion characters.

== Does this work with Gutenberg? ==

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.

== Is this GDPR compliant? ==

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.
Expand Down