我正在使用CDN的CKEditor。
HTML:
<textarea id="description" name="description" placeholder="Description"></textarea>
根据说明here, JS:
CKEDITOR.replace( 'description',
{
extraPlugins : 'placeholder'
});
但是我收到了一个错误:
Uncaught The editor instance "description" is already attached to the provided element.
我错过了什么?