Add edit and remove actions to link in RTE (#9864)
Add edit and remove actions to link in RTE
This commit is contained in:
parent
79033eb034
commit
a691e634b0
9 changed files with 209 additions and 58 deletions
|
@ -262,7 +262,7 @@ export default class Field extends React.PureComponent<PropShapes, IState> {
|
|||
|
||||
this.inputRef = inputRef || React.createRef();
|
||||
|
||||
inputProps.placeholder = inputProps.placeholder || inputProps.label;
|
||||
inputProps.placeholder = inputProps.placeholder ?? inputProps.label;
|
||||
inputProps.id = this.id; // this overwrites the id from props
|
||||
|
||||
inputProps.onFocus = this.onFocus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue