Title: Cannot Copy/Paste Link or Embed
Last modified: December 11, 2018

---

# Cannot Copy/Paste Link or Embed

 *  [radioinsight](https://wordpress.org/support/users/radioinsight/)
 * (@radioinsight)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/)
 * Two of my client sites are having issues with pasting either a link or oembed
   into the visual tab of the classic editor. I can paste plain text but nothing
   else. In the text/code tab it will paste the content, but when switching back
   it will not convert the link into embedded content in the editor, however the
   embed will work properly once the post is previewed or published.
 * In the browser developer console the first line says “JQMIGRATE: Migrate is installed,
   version 1.4.1”
 * Then I see a number of “The block “with different theme created sections” must
   have a registered category.”
 * and then the following:
 * Uncaught TypeError: wp.shortcode is not a constructor
    at Object.shortcode (load-
   scripts.php:410) at n.initialize (load-scripts.php:412) at n.b.mce.View (load-
   scripts.php:412) at new n (load-scripts.php:398) at Object.createInstance (load-
   scripts.php:412) at load-scripts.php:412 at Function.m.each.m.forEach (load-scripts.
   php:53) at load-scripts.php:412 at Function.m.each.m.forEach (load-scripts.php:
   53) at Object.setMarkers (load-scripts.php:412)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10972201)
 * Sounds like you have a plugin that adds TinyMCE previews for shortcodes and is
   trying to use the JS `wp.shortcode` incorrectly. I’m not aware of any changes
   there in the Classic Editor, but perhaps something was changed.
 * Best would be to try and identify that plugin and see if a fix is in the works.
 *  Thread Starter [radioinsight](https://wordpress.org/support/users/radioinsight/)
 * (@radioinsight)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10972472)
 * I had already gone through disabling each plugin one by one to find a potential
   cause. Disabling none resolved the issue. But also none should have any functionality
   to add previews of shortcodes.
 * I do not believe it to be the theme as I have it installed on other sites on 
   the same server without the issue.
 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10972526)
 * Hmmm, could you set `SCRIPT_DEBUG` to true for one of these sites so the errors
   are a bit more meaningful.
 * Also, the errors `The block “with different theme created sections” must have
   a registered category.` should be coming from the Block Editor (at block registration),
   are you seeing them when using the Classic Editor?
 *  Thread Starter [radioinsight](https://wordpress.org/support/users/radioinsight/)
 * (@radioinsight)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10976787)
 * Activating SCRIPT_DEBUG adds the following warnings.
 * JQMIGRATE: jQuery.fn.load() is deprecated
    migrateWarn @ jquery-migrate.js:45
   jquery-migrate.js:47 console.trace
 * jquery-migrate.js:45 JQMIGRATE: jQuery.fn.size() is deprecated; use the .length
   property
    migrateWarn @ jquery-migrate.js:45 jquery-migrate.js:47 console.trace
   migrateWarn @ jquery-migrate.js:47
 * I am seeing all those block registrations in the Chrome developer console when
   using the classic editor. I have tested Gutenberg on another site using this 
   same theme and those blocks do work in that editor.
 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10981387)
 * My guess would be that a Block Editor (Gutenberg) plugin is trying to load all
   the JS for it on the “classic” Edit Post screen. Perhaps try to disable any plugins
   that add Blocks, etc. and see if one is doing that.
 *  Thread Starter [radioinsight](https://wordpress.org/support/users/radioinsight/)
 * (@radioinsight)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10981745)
 * Only three plugins on the site create bocks (Jetpack, Yoast, and the theme’s 
   ad manager). The issue persists with all three plugins deactivated as a group
   and individually.
 * Presuming at this point that this must be a theme issue with the blocks. Will
   update if cause is found there.
 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10988295)
 * Yep, it would be great if you could post here when the problem is resolved, thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Cannot Copy/Paste Link or Embed’ is closed to new replies.

 * ![](https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671)
 * [Classic Editor](https://wordpress.org/plugins/classic-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/classic-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/classic-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/classic-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/classic-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/classic-editor/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/cannot-copy-paste-link-or-embed/#post-10988295)
 * Status: not resolved