将 header 设置为 "Send it to the Server" 请求

set header into "Send it to the Server" request

我遇到了 "Send it to the Server" 按钮发出的请求的问题。我需要在这个请求中设置 header。

我怎样才能从前端做到这一点? 谢谢!

回答我自己的问题。

每个对话框都可以通过监听 dialogDefinition 事件来修改。 https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR-event-dialogDefinition