...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var model = editor.getBodyModelJSONgetBodyModelJSONForAI(); var model = editor.getBodyModelJSONgetBodyModelJSONForAI(true); |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"type": "Body",
"children": [
{
"children": [
{
"text": "안녕",
"type": "TextRun"
},
{
"text": "하세요",
"type": "TextRun"
}
],
"type": "Paragraph"
}
]
} |
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"type": "Body",
"children": [
{
"children": [
{
"text": "안녕",
"style": "안녕하세요"{
"color": {
"r": 128,
"g": 128,
"b": 255
}
},
"type": "TextRun"
},
{
"text": "하세요",
"style": {
"color": {
"r": 255,
"g": 128,
"b": 128
}
},
"type": "TextRun"
}
],
"type": "Paragraph"
}
]
} |
...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{"type":"Body","children":[{"children":[{"text":"안녕하세요"안녕","type":"TextRun"},{"text":"하세요","type":"TextRun"}],"type":"Paragraph"}]} |
...