Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't remove styles when wrap is used? #1

Open
mrmachine opened this issue May 9, 2014 · 1 comment
Open

Can't remove styles when wrap is used? #1

mrmachine opened this issue May 9, 2014 · 1 comment

Comments

@mrmachine
Copy link

var stylesJSON = [
    {
        btnName: 'superscript',
        wrap: 'sup'
    }
];
$('#redactor').redactor({
    plugins: ['styles'],
    stylesJson: stylesJSON
});

Clicking Remove style does nothing, and the style can be applied multiple times.

@Seanom
Copy link

Seanom commented Nov 26, 2014

I'm experiencing the same issue, the remove class appears to remove the outer class. but not the inner classes

After applying a couple of styles, in this case buttons the remove style only appears to remove the text-align: center

   <p style="text-align: center;">
    <a href="#"><span class="btn btn-alternative"><span class="btn btn-default">Button</span></span></a>
   </p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants