Skip to content

Commit a8d93a3

Browse files
committed
Make it more general
1 parent fdda02a commit a8d93a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/fields/MultiFormatTextEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class UnconnectedMultiFormatTextEditor extends Component {
1010
let fullValue = this.props.fullValue;
1111

1212
let placeholder;
13-
if (multiValued || (!container.title && attr === 'title')) {
13+
if (multiValued || (!container[attr] && fullValue)) {
1414
placeholder = fullValue;
1515
fullValue = '';
1616
}

0 commit comments

Comments
 (0)