Ckeditor5: Link decorator don't initialize after loading page with existing text

Created on 28 Jun 2019  路  1Comment  路  Source: ckeditor/ckeditor5

I try to use decorator feature (e.g. target='_blank'):

  1. I create link and set attribute target='_blank' to it;
  2. I send text to backend;
  3. When I reload page with the text in the editor I don't see this attribute at this link and there are no errors in console.

My configuration:

  link: {
    decorators: [
      {
        mode: 'manual',
        label: 'Open in new tab',
        attributes: {
          target: '_blank',
        },
      },
    ],
  },
link bug

Most helpful comment

Thanks for reporting it 鉂わ笍
It somehow slipped by during the reviews. Thank god you caught it before we release this feature :)

>All comments

Thanks for reporting it 鉂わ笍
It somehow slipped by during the reviews. Thank god you caught it before we release this feature :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benjismith picture benjismith  路  3Comments

Reinmar picture Reinmar  路  3Comments

pomek picture pomek  路  3Comments

Reinmar picture Reinmar  路  3Comments

wwalc picture wwalc  路  3Comments