Constructor
new EzWysiwyg()
Members
option :string
- Description:
위지윅 에디터로 전달할 옵션
위지윅 에디터로 전달할 옵션
Type:
- string
readonly :boolean
- Description:
읽기전용여부
읽기전용여부
Type:
- boolean
timeout :number
- Description:
에디터 초기화 timeout
음수일 경우 무제한입니다.
에디터 초기화 timeout
음수일 경우 무제한입니다.
Type:
- number
value :string
- Description:
윅지윅 에디터의 값
윅지윅 에디터의 값
Type:
- string
(static, readonly) LOG_KEY :string
- Description:
로깅용 키
로깅용 키
Type:
- string
(static, readonly) url :string
- Description:
위지윅 화면 경로(웹)
위지윅 화면 경로(웹)
Type:
- string
Methods
set_option(option)
- Description:
위지윅 에디터로 전달할 옵션 설정
Example
this.EzWysiwyg00.set_option('{ "theme": "RIGHT" }');
Parameters:
| Name | Type | Description |
|---|---|---|
option |
string | 위지윅 에디터로 전달할 옵션
|
set_readonly(readonly)
- Description:
위지윅 에디터 읽기전용 세팅
Example
this.EzWysiwyg0.set_readonly(true)
Parameters:
| Name | Type | Description |
|---|---|---|
readonly |
boolean | 읽기전용여부 |
set_timeout(timeout)
- Description:
에디터 초기화 timeout 설정
음수일 경우 무제한입니다.
Example
this.EzWysiwyg00.set_timeout(2000);
Parameters:
| Name | Type | Description |
|---|---|---|
timeout |
number | 타임아웃(ms) |
set_value(text)
- Description:
위지윅 에디터 값 세팅
Example
this.EzWysiwyg0.set_value('Hello world');
Parameters:
| Name | Type | Description |
|---|---|---|
text |
string | 위지윅 에디터에 세팅할 문자열 |