Copy to Clipboard for Code Snippet in CMS Rich Text

I’m building a blog post, I want my visitor can copy my code.

Attribute [Code Highlight] → no Copy to Clipboard

Attribute [Copy to Clipboard] → not working in CMS rich text

What would be the best practise for this use case?

hey @shenye! Can you please share a link?