Title: edit in text (html) mode
Last modified: March 14, 2019

---

# edit in text (html) mode

 *  Resolved [Alain Aubry](https://wordpress.org/support/users/caban13/)
 * (@caban13)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/edit-in-text-html-mode/)
 * Hi
 * I have WP 4.9.10, OneSignal 1.16.16, and Yoast 9.7.
    I cannot edit in text (html)
   mode, only in visual mode (classic editor). I have the error:
 *     ```
       Uncaught TypeError: Cannot read property 'getCurrentPost' of undefined
           at wp.data.subscribe (notice.js:26)
           at wp-data-970.min.js:1
           at Array.forEach (<anonymous>)
           at f (wp-data-970.min.js:1)
           at wp-data-970.min.js:1
           at h (wp-data-970.min.js:1)
           at wp-data-970.min.js:1
           at Object.dispatch (wp-data-970.min.js:1)
           at wp-seo-post-scraper-970.min.js:1
           at analysis-970.min.js:10
       ```
   
 * “notice.js” is yours, “wp-data-970.min.js” and “wp-seo-post-scraper-970.min.js”
   are from Yoast, so I started disabling both plugins, one at a time. Later I changed
   the version of both plugins, until I found a combination that works.
 * The problem started with your version 1.16.14 or 1.16.15, not sure which one,
   I did not noticed the error soon. I went back to your version 1.3, this is the
   only one that be downloaded.
 * Thanks

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

 *  Thread Starter [Alain Aubry](https://wordpress.org/support/users/caban13/)
 * (@caban13)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/edit-in-text-html-mode/#post-11309959)
 * I place a ticket to Yoast: [https://wordpress.org/support/topic/cannot-edit-in-text-mode/#post-11309947](https://wordpress.org/support/topic/cannot-edit-in-text-mode/#post-11309947)
 * I saved it now as “resolved”.
 *  Plugin Author [OneSignal Push Notifications](https://wordpress.org/support/users/onesignal/)
 * (@onesignal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/edit-in-text-html-mode/#post-11310009)
 * Hello Alain,
    We have released a new update with a fix for this bug. Could you
   please test and let us know?
 * Thanks!
 *  Thread Starter [Alain Aubry](https://wordpress.org/support/users/caban13/)
 * (@caban13)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/edit-in-text-html-mode/#post-11310336)
 * [@onesignal](https://wordpress.org/support/users/onesignal/): Thanks it is working
   fine.
    Please note that the version displayed is still 1.16.16
 * Resolved!

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

The topic ‘edit in text (html) mode’ is closed to new replies.

 * ![](https://ps.w.org/onesignal-free-web-push-notifications/assets/icon.svg?rev
   =3003897)
 * [OneSignal - Web Push Notifications](https://wordpress.org/plugins/onesignal-free-web-push-notifications/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/onesignal-free-web-push-notifications/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/)
 * [Active Topics](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/onesignal-free-web-push-notifications/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alain Aubry](https://wordpress.org/support/users/caban13/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/edit-in-text-html-mode/#post-11310336)
 * Status: resolved