redactor-plugins
redactor-plugins copied to clipboard
Prevent multiple instances of span
By default, the font size plugin adds a new span around the selected text everytime you change the font size. Likewise when you select to remove the font size, it will only remove the latest added span.
Is there no way to change this so that if a span already exists, the font-size value is simply changed on that span rather than creating a new one as it just leads to messy html?
Can anyone help with this please?
Hello, I am the repo author. I'm sorry, but I do not maintain the plugins nor provide support, as I no longer use Redactor.
I can see that Imperavi makes a similar plugin (or maybe the same) available on their website maybe you could install theirs and then ask them for support if the problem still happens.
I would help if I could, this is the best advice i can give.