docs/plans/4649-liststart-setvalue.md
Keep ordered-list start values from markdown deserialization intact after editor.tf.setValue(...) so list rendering and markdown export can use the real numbering.
udecode/plate#4649Editor SetValue stripping out listStart from deserialized Markdown breaking list rendering.listStartsetValue does not strip that fieldpackages/list/src/**packages/core/src/** if normalization strips unknown element propspackages/markdown/src/** if deserializer shape is mismatchedsetValue.listStart.listStart.editor.tf.setValue(...), so the likely bug is not parsing; it is normalization or node copying.listStart loss through editor value setting.listStart > 1 is only preserved when the node also carries listRestart or listRestartPolite.listStart but not the restart metadata, so normalization stripped the first item of a restarted ordered list and renumbered following siblings incorrectly.#4649docs/solutions for related prior fixesdeserializeMd(...) + editor.tf.setValue(...)listRestartPolite on the first item of ordered lists that start above 1pnpm installpnpm turbo build --filter=...pnpm turbo typecheck --filter=...pnpm lint:fix