Skip to content

HTML Attribute Contenteditable Removed By Minimize #109

@gizapp

Description

@gizapp

Minimize removes the contenteditable attribute, which leads to major changes to the parsed HTML code

Example code:

const Minimize = require('minimize')
new Minimize().parse('<html><body><span contenteditable>hello world</span></body></html>')

Produces <html><body><span>hello world</span></body></html> where the attribute was removed. This means the user is no longer allowed to edit the "hello world" text in the span.

This can be worked around by using contenteditable="true" instead, but this defeats the purpose of minimizing the HTML

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