redactor-plugins icon indicating copy to clipboard operation
redactor-plugins copied to clipboard

Prevent multiple instances of span

Open babyewok opened this issue 10 years ago • 2 comments

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?

babyewok avatar May 21 '14 14:05 babyewok

Can anyone help with this please?

babyewok avatar May 23 '14 18:05 babyewok

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.

johnsardine avatar May 23 '14 18:05 johnsardine