Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter oleonard

    (@oleonard)

    Looks like the problem is in line 56 of clear-floats-button.php:

    $init['extended_valid_elements'] = 'div[clear|style|class]';

    I assume this is overwriting a default configuration which allows div[id], although I can’t see where the default configuration is coming from. This plugin should at least append to the existing allowed attributes rather than overwrite them.

    This was fixed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Visual editor strips id attributes from’ is closed to new replies.