Skip to content

Add conditional capability to the setting "Replace surrounding HTML tag?" #30

@er314

Description

@er314

This is a feature request, to add a config setting to hanna-codes :
When the setting ""Replace surrounding HTML tag?" is enabled, it would be nice to have the capability to ALSO configure the list of applicable tags (white-list), or the non-applicable tags (black-list).
Typical use case :

  • when the user of the editor is embedding his hanna-code in an otherwise empty "p" tag, it makes sense to remove the tag
  • but when he's embedding his hanna-code in an otherwise empty "td" tag, it makes NO SENSE AT ALL to remove the tag (as this breaks the table)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions