|
|
@ -73,7 +73,7 @@ |
|
|
|
|
|
|
|
|
<div class="btn-export" onclick="Swal.fire({ title: 'Export', |
|
|
<div class="btn-export" onclick="Swal.fire({ title: 'Export', |
|
|
html: '<pre><code>'+JSON.stringify(editor.export(), null,4)+'</code></pre>' |
|
|
html: '<pre><code>'+JSON.stringify(editor.export(), null,4)+'</code></pre>' |
|
|
})">Export</div> |
|
|
})" hidden>Export</div> |
|
|
<!--<div class="btn-clear" onclick="editor.clearModuleSelected()">Clear</div> |
|
|
<!--<div class="btn-clear" onclick="editor.clearModuleSelected()">Clear</div> |
|
|
<div class="btn-lock"> |
|
|
<div class="btn-lock"> |
|
|
<i id="lock" class="fas fa-lock" onclick="editor.editor_mode='fixed'; changeMode('lock');"></i> |
|
|
<i id="lock" class="fas fa-lock" onclick="editor.editor_mode='fixed'; changeMode('lock');"></i> |
|
|
@ -291,7 +291,7 @@ |
|
|
case 'facebook': |
|
|
case 'facebook': |
|
|
var facebook = ` |
|
|
var facebook = ` |
|
|
<div> |
|
|
<div> |
|
|
<div class="title-box"><i class="fab fa-facebook"></i> Facebook Message</div> |
|
|
<div class="title-box"><i class="fab fa-facebook"></i> 文本</div> |
|
|
</div> |
|
|
</div> |
|
|
`; |
|
|
`; |
|
|
editor.addNode('facebook', 0, 1, pos_x, pos_y, 'facebook', {}, facebook ); |
|
|
editor.addNode('facebook', 0, 1, pos_x, pos_y, 'facebook', {}, facebook ); |
|
|
@ -319,10 +319,9 @@ |
|
|
case 'telegram': |
|
|
case 'telegram': |
|
|
var telegrambot = ` |
|
|
var telegrambot = ` |
|
|
<div> |
|
|
<div> |
|
|
<div class="title-box"><i class="fab fa-telegram-plane"></i> Telegram bot</div> |
|
|
<div class="title-box"><i class="fab fa-telegram-plane"></i> 下一题</div> |
|
|
<div class="box"> |
|
|
<div class="box"> |
|
|
<p>Send to telegram</p> |
|
|
<p>请选择你要绑定的下一个问题</p> |
|
|
<p>select channel</p> |
|
|
|
|
|
<select df-channel> |
|
|
<select df-channel> |
|
|
<option value="channel_1">Channel 1</option> |
|
|
<option value="channel_1">Channel 1</option> |
|
|
<option value="channel_2">Channel 2</option> |
|
|
<option value="channel_2">Channel 2</option> |
|
|
|