Git Product home page Git Product logo

Comments (3)

ThemanRonin avatar ThemanRonin commented on June 24, 2024

20240512132939-34v3142.zip

弄了一个可以100%复现的sy文件,步骤如下
1,在代码块中,光标放在最后,也就是【设置为0则为不提醒(静默模式)。】最后面,按del键 一次
2,手动删除代码块和第一段有文本的段落块之间的空的段落块,应该有2个,一个是大的一个是小的
3,再次到代码块中,光标放在最后,也就是【设置为0则为不提醒(静默模式)。】最后面,按del键 一次,此时应该会删除掉【// syncPath:.....】的【第一个/】
4,此时按ctrl+z ,有文本的那个段落块所有内容直接变成undefined ,并且没有任何办法恢复,【文件历史】里面也无法恢复

ps: 第3步 在代码块中最后一段按del能删除下面段落块的内容,这一部分也有问题。
理论情况下,在代码块的最后按del,是不会删除掉下面的存在的段落文本的,(但是我视频中会出现这个问题,所以这个问题可能就是导致的ctrl+z之后段落块变成了undefined?)。

from siyuan.

ThemanRonin avatar ThemanRonin commented on June 24, 2024

20240512132939-34v3142.zip

又操作了一次,这次复现太简单了,只要在【设置为0则为不提醒(静默模式)。】后面按下del键后,会删除掉【lastModifiedDeltaSeconds】的【l】,然后按下ctrl+z。下面这整个的段落块直接变为undefined

下面是log
siyuan.log

from siyuan.

ThemanRonin avatar ThemanRonin commented on June 24, 2024

2024-5-12 17:28更新
折腾了一番发现段落块变成undefined之后数据并没有丢失
把显示模式切换成:导出预览 之后就可以正常显示undefined的文本了,再次切换到所见所得也是正常的。
但是这个也太吓人了,要是正常记录一大段东西突然出现这个情况谁也遭不住啊...........麻烦作者看看到底是个什么问题

from siyuan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.