Skip to content

[BUG] Table content keeps disappearing if "folded state" saving is enabled #144

@kazi-kavish

Description

@kazi-kavish

This bug is identical to the issue no. 130 for which the OP has helpfully attached a demo GIF. The issue was closed on the assumption that it got resolved when the user "reset" some plugin.

But in fact, the issue still exists. It surfaces when the "Save code blocks folded state" option is toggled on.

Apparently, the OP had reset the plugin to default theme - which must have disabled the option and the issue appeared to have got resolved.

With the said option enabled, the following error shows up in the console at every keystroke and any text entered into a table cell gets wiped off!

app.js:1 RangeError: Position 909 is out of range for changeset of length 4
    at e.mapPos (app.js:1:266080)
    at remapRecord (plugin:codeblock-customizer:22524:32)
    at CodeBlockCustomizerPlugin.remapFolds (plugin:codeblock-customizer:22557:37)
    at e.update [as updateF] (plugin:codeblock-customizer:17174:16)
    at Object.update (app.js:1:279738)
    at e.computeSlot (app.js:1:290588)
    at Ie (app.js:1:283682)
    at e.field (app.js:1:289701)
    at e.update [as updateF] (plugin:codeblock-customizer:16939:43)
    at Object.update (app.js:1:279738)
    at e.computeSlot (app.js:1:290588)
    at Ie (app.js:1:283682)
    at new e (app.js:1:289557)
    at e.applyTransaction (app.js:1:290543)
    at e.get (app.js:1:285686)

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