medium-editor
medium-editor copied to clipboard
How to add inline styles to the anchor created by the link button?
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