Skip to content

In serialise function, the strikeThrough option is not possible to change via nodeTypes #49

@pradel

Description

@pradel

Currently, there is no way to customise the strikeThrough name via the serialise function. The following code is not working:

serialize(v, {
  nodeTypes: {
    ...defaultNodeTypes,
    // not working
    delete_mark: 'underlined',
  },
});

This line needs to be changed https://github.com/hanford/remark-slate/blob/master/src/serialize.ts#L155.

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