0

大多数在线编程课程在他们的网页中都有这个文本区域(你在其中输入代码),它为你提供代码着色和括号配对等。

这样做的缺点是不能同时使用像It's All Text这样的工具。

使问题更具体,我目前想使用上面提到的工具和TACTIC的脚本编辑器。文本区域后面的 html 代码类似于:

<div class="ace_layer ace_text-layer" style="width: auto; padding: 0px 4px;">
   <div style="height:14px" class="ace_line">
     <span class="ace_identifier">ASSET_TASK</span>&nbsp;<span class=
     "ace_keyword ace_operator">=</span>&nbsp;<span class="ace_string">"rig"</span>
   </div>

   <div style="height:14px" class="ace_line">
     <span class="ace_identifier">ASSET_STATUS</span>&nbsp;<span class=
     "ace_keyword ace_operator">=</span>&nbsp;<span class="ace_string">"Approved"</span>
   </div>
</div>

而不是<textarea>

那么为了实现上述设置,我应该做些什么调整呢?

4

0 回答 0