Title: html text editor not saving changes
Last modified: January 3, 2017

---

# html text editor not saving changes

 *  [Alwin](https://wordpress.org/support/users/wp-opti/)
 * (@wp-opti)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/html-text-editor-not-saving-changes/)
 * Hello, I have set up some links in a page text in the visual editor. Everything
   works fine. Now I want to add some code to the links (these are links to PDF 
   files and I want to track them with Google Analytics).
 * So I go to the HTML Text editor instead of the visual text editor, and I add 
   some code to my links. I save the changes and publice the page. Now, when I open
   the HTML Text editor again I see that the code I have added is gone…
 * So somehow the HTML Text editor is not saving my changes to the code. What am
   I doing wrong here?
 * The code I am trying to add is this:
    onclick=”ga(‘send’, ‘pageview’, {‘page’:‘/
   documenten’, ‘title’: ‘PDF 1’});”
 * Thank for your help!

Viewing 1 replies (of 1 total)

 *  [Tomas](https://wordpress.org/support/users/zhuyi/)
 * (@zhuyi)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/html-text-editor-not-saving-changes/#post-8614416)
 * Hi [@wp-opti](https://wordpress.org/support/users/wp-opti/),
 * Not sure is it caused by your code or other things? In general, if you type something
   in editor and click update button, your changes should be stored into wp_posts
   table, so what you faing is not normal process progress. What I know is when 
   js file be stopped in browser(our country firewall like stop js transfer), sometimes
   the new changes will not saved, but I believe what you find is not this kind 
   of problem? If you are using normal browser for example chrome or fires, I think
   maybe you can enter F12 and click “Console”, if there are js error, you will 
   find it in console tab, maybe you can just clear your browser cache and restart
   PC…? I saw a EN TV and when they get call they always like say: do you restarted
   your computer? 🙂
 * If still can not work, maybe you can open phpmyadmin and try to view your wp_posts
   table for ensure is changes be stored or not? Of course, in phpmyadmin, you can
   always insert anything in posts, but if you did not use phpmyadmin before, do
   not do this, because it have a little risk.
 * Good luck, have a good day 🙂
 * Best Regards,
    Tomas

Viewing 1 replies (of 1 total)

The topic ‘html text editor not saving changes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Tomas](https://wordpress.org/support/users/zhuyi/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/html-text-editor-not-saving-changes/#post-8614416)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
