Title: Clears Code when saved
Last modified: January 22, 2018

---

# Clears Code when saved

 *  [salesavv](https://wordpress.org/support/users/salesavv/)
 * (@salesavv)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clears-code-when-saved/)
 * Hi,
 * I have tried several times to try and add code from my affiliates that automatically
   converts my links in to the Simple CSS plugin but every time I enter their code
   and save it the plugin just clears it and says it’s been saved but then it doesn’t
   work still. Is there an error?
 * They are script codes so not sure if it’s a java issue?
 * <script type=
    and <script src=
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fclears-code-when-saved%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [SiGa](https://wordpress.org/support/users/siga/)
 * (@siga)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clears-code-when-saved/#post-9933330)
 * I would guess the description saying “Simple CSS gives you an awesome admin editor
   and a live preview editor in the Customizer so you can easily add your CSS.” 
   means that you can only add CSS and no other type of code….
 *  Plugin Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clears-code-when-saved/#post-9935322)
 * That’s correct – only valid CSS can be added to the editor, it will strip out
   any HTML or scripts.

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

The topic ‘Clears Code when saved’ is closed to new replies.

 * ![](https://ps.w.org/simple-css/assets/icon-128x128.png?rev=2332555)
 * [Simple CSS](https://wordpress.org/plugins/simple-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-css/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-css/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/clears-code-when-saved/#post-9935322)
 * Status: not resolved