Thanks to visit codestin.com
Credit goes to github.com

Skip to content

save(true) and save(false) both appear to create JSON that contains the content #1795

@cfcoder

Description

@cfcoder

Subject of the issue

Both the save(true) and save(false) output the same JSON data. Both have html content.

Your environment

  • version of gridstack.js [email protected] using HTML5 version
  • which browser/OS Brave Version 1.25.73 Chromium: 91.0.4472.106 (Official Build) (64-bit)

Steps to reproduce

https://jsfiddle.net/ve0sdunm/3/

  1. Run jsfiddle

Expected behavior

First two console outputs should show html content in the JSON, 3rd should not include content in the JSON

Actual behavior

All 3 JSON outputs look the same and include the content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions