medium-editor icon indicating copy to clipboard operation
medium-editor copied to clipboard

How to add inline styles to the anchor created by the link button?

Open ghost opened this issue 3 years ago • 0 comments

Description

How to add inline styles to the anchor created by the link button?

Steps to reproduce

buttons: [ { name: 'anchor', style: [{ prop: 'color', value: '#FFF' }] } ]

Expected behavior: [What you expected to happen]

New links created by the editor should have the inline style with the color value.

Actual behavior: [What actually happened]

Anchor tag is created without inline style.

Versions

  • medium-editor: Latest
  • browser: Chrome
  • OS: Windows

ghost avatar Jun 09 '21 18:06 ghost