Title: Editor not resolving shortcode
Last modified: December 8, 2022

---

# Editor not resolving shortcode

 *  [EdwardBock](https://wordpress.org/support/users/edwardbock/)
 * (@edwardbock)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/editor-not-resolving-shortcode/)
 * Hi there,
 * we try to use your plugin but have some troubles creating contents. When I try
   to edit a H5P content in the admin area (/wp-admin/admin.php?page=h5p_new&id={
   id}) and choose “Branching Scenario” for example, then it is not loading the 
   editor but showing me some shortcode like string “[field:group:branchingScenario:
   branchingScenario]” below the title.
 * I’ve disabled all other plugins and used twentytwentytwo as the theme so it doesn’t
   seem to be an issue with other plugins or the theme. We use php7.4 for now as
   we cannot currently update to 8.0 or higher because of other parts of the application
   that need to be refactored first.
 * There are currently no error logs. But I had some trouble with “unabletocopy”
   even though the uploads folder is defenetly writable for the application. I’ve
   fixed this by manually creating all directories that were causing error logs.
   But these folders are still empty. So maybe this could be a problem too.
 * Thanks in advance
    Edward

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

 *  Plugin Author [icc0rz](https://wordpress.org/support/users/icc0rz/)
 * (@icc0rz)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/editor-not-resolving-shortcode/#post-16271156)
 * It sounds like there are some issues with the content type and you have to reinstall
   it. To do this you need to add a setting to your wp-config.php and then download
   example 2 from: [https://h5p.org/branching-scenario#example=440740](https://h5p.org/branching-scenario#example=440740)
   and then upload it to your H5P Libraries page.
 * The setting you need to add is:
    `define('H5P_DEV', true);`
 * This will allow reuploading existing content types.
    Remember to remove it after
   uploading it and verifying that it works.
 *  Thread Starter [EdwardBock](https://wordpress.org/support/users/edwardbock/)
 * (@edwardbock)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/editor-not-resolving-shortcode/#post-16282325)
 * Hi [@icc0rz](https://wordpress.org/support/users/icc0rz/)
 * thanks for the quick reply. But sadly that didn’t help. I’ve added the H5P_DEV
   bool and uploaded the example. The upload was successful and I can view the content.
   But still no chance to edit the content. Still getting the raw shortcode on edit
   screen [field:group:branchingScenario:branchingScenario].
 *  Plugin Author [icc0rz](https://wordpress.org/support/users/icc0rz/)
 * (@icc0rz)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/editor-not-resolving-shortcode/#post-16283941)
 * Then there must be some issue loading the JavaScript files needed. If you open
   your browser’s console (Ctrl+Shift+J in Chrome) and click on the network tab,
   can you see any .js requests failing?
 *  Thread Starter [EdwardBock](https://wordpress.org/support/users/edwardbock/)
 * (@edwardbock)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/editor-not-resolving-shortcode/#post-16283986)
 * Nobe, no network requests are failing. A lot of h5p*.js files are loaded correclty
   with response code 200 from wp-content/plugins/h5p/*. No error log in console.

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

The topic ‘Editor not resolving shortcode’ is closed to new replies.

 * ![](https://ps.w.org/h5p/assets/icon.svg?rev=986118)
 * [Interactive Content – H5P](https://wordpress.org/plugins/h5p/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/h5p/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/h5p/)
 * [Active Topics](https://wordpress.org/support/plugin/h5p/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/h5p/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/h5p/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [EdwardBock](https://wordpress.org/support/users/edwardbock/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/editor-not-resolving-shortcode/#post-16283986)
 * Status: not resolved