codeslayer1 / react-ckeditor

CKEditor component for React with plugin and custom event listeners support
MIT License
129 stars 34 forks source link

How to add placeholder #62

Open kiranDimble opened 5 years ago

kiranDimble commented 5 years ago

Hi Buddy ,

How i can add placeholder which will hide when i will click on html edtior to React CKEditor. Please help me out on this.

I am using react-ckeditor-component 1.0.7 Version.

<CKEditor events={{ afterPaste: this.onChange, change: this.onChange, }} content="abc" config={{ toolbarGroups: [ { name: 'basicstyles', groups: ['basicstyles', 'cleanup'] }, { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi', 'paragraph'] }, { name: 'styles', groups: ['styles'] }, { name: 'colors', groups: ['colors'] }, ], }} />

munishchoudhary204 commented 1 year ago

Hi Buddy ,

How i can add placeholder which will hide when i will click on html edtior to React CKEditor. Please help me out on this.

I am using react-ckeditor-component 1.0.7 Version.

<CKEditor events={{ afterPaste: this.onChange, change: this.onChange, }} content="abc" config={{ toolbarGroups: [ { name: 'basicstyles', groups: ['basicstyles', 'cleanup'] }, { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi', 'paragraph'] }, { name: 'styles', groups: ['styles'] }, { name: 'colors', groups: ['colors'] }, ], }} />

Any Solution ??