Title: Custom Class does not work
Last modified: July 29, 2020

---

# Custom Class does not work

 *  Resolved [Martin Sauter](https://wordpress.org/support/users/martinsauter/)
 * (@martinsauter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-class-does-not-work/)
 * I tried to apply a custom class to a paragraph block. But every time I save my
   page, this custom class gets lost. Instead, the class «ek-link» is added – not
   to the paragraph, but to the link that is contained in that paragraph. And this«
   ek-link» is added not only once, but as many times as I tried to save my page.
   The only solution I found so far was to switch the block to HTML mode and add
   the class manually. (I am using Gutenberg 8.6.1)

The topic ‘Custom Class does not work’ is closed to new replies.

 * ![](https://ps.w.org/block-options/assets/icon-256x256.jpg?rev=2610578)
 * [Gutenberg Block Editor Toolkit – EditorsKit](https://wordpress.org/plugins/block-options/)
 * [Support Threads](https://wordpress.org/support/plugin/block-options/)
 * [Active Topics](https://wordpress.org/support/plugin/block-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-options/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Martin Sauter](https://wordpress.org/support/users/martinsauter/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/custom-class-does-not-work/)
 * Status: resolved