Rich text clean-up

Don't let clients or yourself break your richtext styles with unnecessary line breaks. And even if they are there, let's just delete them.

Today, we're going to talk about why you should never, ever, ever piss off a designer or developer who's creating something for you.

Trust me, it's not pretty.

The Importance of Designers

Let's start with designers. Now, these creative souls are the ones responsible for making your website look pretty, your flyers look snazzy, and your logo look professional. They spend countless hours coming up with the perfect color palette, typography, and layout to make sure that everything looks just right. So, when you start nitpicking about every little detail or constantly changing your mind, you're not just wasting their time - you're also insulting their hard work.

The Importance of Developers

And let's not forget developers. These are the tech wizards who make your website come to life. They're the ones responsible for making sure that everything works properly and that your website runs smoothly. When you start demanding unrealistic features or constantly changing the requirements, you're not just frustrating them - you're also making their job a lot harder.

‍Greetings, dear readers!

The Expertise of Designers and Developers

While designers and developers are certainly there to bring your vision to life, it's important to remember that they're also experts in their field. They know what works and what doesn't, and if they're telling you that something won't work or won't look good, it's probably best to listen to them.

The Consequences of Pissing Off a Designer or Developer

So, what happens if you do manage to piss off a designer or developer? Well, let's just say that you don't want to find out. They might start secretly adding in little Easter eggs (read: bugs) to your website, or they might make your logo a little bit... questionable. And while it might be tempting to just fire them and move on, remember that finding a new designer or developer will take time and money - and who knows if they'll be any better?

Conclusion

In conclusion, the next time you're working with a designer or developer, remember to treat them with respect. Listen to their advice, trust their expertise, and don't be a pain in the you-know-what. Trust me, it'll be worth it in the long run.

Clean-up
Click the button and let the magic happen.

How to use it

1. Copy JavaScript snippet

You can find the script in the page settings in the "before </body>" area.

2. Add the script to your site

If you want to use the script throughout your project, add it to the page settings of your project in the section "before </body>". Otherwise, add it to the page settings of the respective pages in the section "before </body>" on which you want to use it.

3. Add [clean-up] Attribute to your rich text elements

Simply add the attribute [clean-up] without value to each rich text element in which empty lines are to be removed.

Custom Attributes
clean-up
=
" "

That's it. And yes, you can also clean up multiple rich text elements on a single page.