Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

quill-render is a heavy dependency that may be done-away with #19

Description

@k8n

https://github.com/CroudSupport/vue-quill/blob/fbca7f484d7f54e965d3afa5438eb0b8a551d3f0/package.json#L36

May I suggest a more lightweight approach (done with jQuery, but could probably be done without):

var $h = $('<div>' + this.quill.container.querySelector('.ql-editor').innerHTML + '</div>');
// take only the basic markup
$h.find('*:not(em):not(u):not(strong):not(s):not(br)').contents().unwrap();
var html_content = $h.html();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions