plone / blocks-conversion-tool

A tool to convert HTML (as used in Plone Classic) to Blocks (as used on Volto)
7 stars 5 forks source link

In slate link are not converte correctly #10

Closed mcasagrande18 closed 1 year ago

mcasagrande18 commented 2 years ago

When convert a tag for slate blocks type must be a not link

https://github.com/plone/blocks-conversion-tool/blob/ff9a2523149b0da7484be5a2e2ef7300c9fcc295/src/converters/slate.js#L79

ericof commented 1 year ago

@mcasagrande18 This is by design. I had a very long chat with @ichim-david and he explained to me why it should be a link