我无法弄清楚如何修改CKeditor iframe的bodyCSS样式.我已经尝试了一系列基于各种潜在解决方案的选项,但我对CKeditor的API并不是很熟悉,这使得事情变得相当困难.这是(具体)CKeditor 4.4.3.
您可以在以下JSfiddle中看到各种尝试(已评论):
CKEDITOR.stylesSet.add( 'style_updates', [
// ATTEMPT 1
// Block-level styles...this is for the dropdown menu (not shown in current config)
{ name: 'Body Margin Fix', element: 'body', styles: { margin: '10px' } }
]);
editor = $('textarea').ckeditor( function(editor){
// ATTEMPT 2
//callback `this` refers to CKEDITOR.editor
this.ckeditorGet().addCss('body { margin:10px; }')
}, {
// ATTEMTP 3
addCss: 'body { margin:10px; }',
stylesSet: 'styles_updates',
uiColor: '#FFFFFF',
scayt_autoStartup: true,
autoGrow_onStartup: true,
enterMode: CKEDITOR.ENTER_BR,
removePlugins: 'elementspath, resize',
toolbar: …Run Code Online (Sandbox Code Playgroud) 我已经习惯了*nix服务器,如果我们想要一个完全安全的登录屏幕,我们(据我所知)将通过HTTPS使用SSL.我们的工作监督组织使用Windows服务器来提供网页服务.在一个这样的页面上,他们正在验证网络凭据.此页面使用HTTP,并且似乎是SQL Server报表管理器的Basic Auth(弹出对话框).
他们说在IIS中禁用Basic.
由于我在大学时对IIS的经验有限,我(想想我)回忆一下子域名可以覆盖一般设置.他们认为它正在使用集成Windows身份验证.
所以...
有没有办法在查看网页提示时区分Basic Auth和Integrated Windows Auth,以及......
是否可以在身份验证期间加密计算机和服务器之间的通信,以便加密发送的文本(没有JS解决方案)?