Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 如何使用Ionic在CKEditor 5中设置高度?_Angular_Ionic Framework_Ckeditor_Ckeditor5 - Fatal编程技术网

Angular 如何使用Ionic在CKEditor 5中设置高度?

Angular 如何使用Ionic在CKEditor 5中设置高度?,angular,ionic-framework,ckeditor,ckeditor5,Angular,Ionic Framework,Ckeditor,Ckeditor5,我想使用Ionic和Angular创建一个文本编辑器 我使用CKEditor 5应用了它,但高度值没有更改 根据CKEditor 5文档,我可以通过config属性控制高度值 我已通过配置选项确认“段落”已翻译成韩文 我的方法错了吗 这是我的源代码 我的源代码由“html”、“component.module.ts”、“component.ts”组成 html模板 <ckeditor formControlName="bbsContent" [editor]="Editor" [confi

我想使用Ionic和Angular创建一个文本编辑器

我使用CKEditor 5应用了它,但高度值没有更改

根据CKEditor 5文档,我可以通过config属性控制高度值

我已通过配置选项确认“段落”已翻译成韩文

我的方法错了吗

这是我的源代码

我的源代码由“html”、“component.module.ts”、“component.ts”组成

html模板

<ckeditor formControlName="bbsContent" [editor]="Editor" [config]="config" style="height: 300px" data=""></ckeditor>
组件技术

import '@ckeditor/ckeditor5-build-classic/build/translations/ko';
import * as ClassicEditor from '@ckeditor/ckeditor5-build-classic';

  //ckeditor
export class Classname {
  public Editor = ClassicEditor;
  public config = {
  language: 'ko',
  height: 300
  }

谢谢阅读。

答案在。上的文档将很快更新,以涵盖角度组件的样式。

非常感谢!!关键是首先是通过全局样式表。但是:ng deep不适合我。这很奇怪。我已经检查过了,我100%确定它在我的示例应用程序中运行良好。
import '@ckeditor/ckeditor5-build-classic/build/translations/ko';
import * as ClassicEditor from '@ckeditor/ckeditor5-build-classic';

  //ckeditor
export class Classname {
  public Editor = ClassicEditor;
  public config = {
  language: 'ko',
  height: 300
  }