<h-sweet>Javascript<h-sweet>
Sweet Text can apply any class anywhere in rich text. Through classes, we can communicate with javascript libraries. We look at how to integrate custom js library effects to specific words, phrases, or elements inside rich text. Many javascript effect libraries can be added to Webflow rich text content with Sweet Text.
Go ahead - Grab <drag-me>Finsweet<drag-me> and see what happens!
This video shows you how to create draggable text inside a rich text element using the simple jQuery UI library.
Video Library
What the heck is Sweet Text?
Sweet Text in CMS
Establishing classes in Designer to use with Sweet Text
Create alternate style options for Rich Text using Sweet Text
Technical review of Sweet Text with Chrome inspector
Adding classes to parent elements inside rich text, like p, li, ul, h2, etc.
Create draggable text elements inside a rich text element
Create a sortable list of elements inside a rich text element
Trigger custom popup interaction via CMS rich text field, Sweet Text, and Webflow Interactions