经过多次尝试,失败。编辑ckeditor

after many attempts, failed. Edit ckeditor

我是前端新手,需要使用 ckeditor 但需要一些 mod 这是我的代码

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>CKEditor Example</title>
        <script src="https://cdn.ckeditor.com/4.10.1/standard/ckeditor.js"></script>
    </head>
    <body>
        <textarea name="text_editor"></textarea>

        <script>
            //-------------------------------------
            CKEDITOR.replace( 'text_editor' );
                  width: '70%';
            CKEDITOR.config.removeButtons = 'Image'; 
             //-------------------------------------
        </script>
    </body>
</html>

我需要删除 'Image' 按钮,但我做不到。

为什么下面的代码不起作用?

CKEDITOR.config.removeButtons = 'Image'; 

请帮忙

CKEDITOR.config.removeButtons = 'Image'; 替换为

CKEDITOR.config.removePlugins = 'image';
CKEDITOR.removeButtons = "image";

如果需要删除多个插件,请用逗号分隔。

CKEDITOR.config.removePlugins = 'image, spellchecker';
CKEDITOR.removeButtons = "image, spellchecker";