Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 21Feb 21 I have many files content, posts, comments, and articles with rich text that doesn't display correctly in dark mode. I can clean them up by clicking edit, then clicking save, and the Tiptop editor will clean up the content. My problem is it's too much content to clean manually. Can I use an SQL query or a quick method to clean up already posted HTM rich text? Can you provide it or tell me how?
February 21Feb 21 Community Expert Are you looking to just simply remove backgrounds and bad font colors to make it look better in dark mode?
February 26Feb 26 Management Do you have an example post I can look at? I think perhaps @Ehren may be able to suggest some custom CSS to remove older backgrounds.
February 26Feb 26 Author Do you have an example post I can look at? I think perhaps @Ehren may be able to suggest some custom CSS to remove older backgrounds.These are some of the better looking ones when viewed in the dark mode. Some of them are worse, with a mixture of different colours in the background.
February 26Feb 26 This will remove custom backgrounds and colors from v4 content. In v5, we use data-attributes for styles, so this means your v5 colors will continue to work normally./* Dark mode fix: Remove custom colors/backgrounds from v4 posts to improve readability */ .ipsRichText--user [style*="color:"]{ color: inherit !important; } .ipsRichText--user [style*="background"]{ background: transparent !important; }
February 27Feb 27 Author This will remove custom backgrounds and colors from v4 content. In v5, we use data-attributes for styles, so this means your v5 colors will continue to work normally./* Dark mode fix: Remove custom colors/backgrounds from v4 posts to improve readability */.ipsRichText--user [style*="color:"]{ color: inherit !important; } .ipsRichText--user [style*="background"]{ background: transparent !important; }Thanks 👍.