code: function showTextDailog(text){
          var strHtml = '<ul><li><label>'+__('dialog_text_content')+'</label><input type="text" value="" id="textContent"></li></ul>';
          var domTextContent;
          showDialog(__('dialog_text_title'), strHtml, {
              onInit: function(){
                 domTextContent = document.getElementById('textContent');
                 domTextContent.select();
                 domTextContent.focus();
                 domTextContent.value = text || '';
              },
              onOk: function(){
                  var text = domTextContent.value;
                  if(text){
                      try{
                          eval('\`'+text+'\`');
                      }
                      catch(e){
                          return alert(e);
                      }
                      saveCommand('sendKeys', text+(mobilePlatform === 'iOS' ? '\n' : '{ESCAPE}'));
                      hideDialog();
                  }
                  else{
                      domTextContent.focus();
                      alert(__('dialog_text_content_tip'));
                  }
              }
          });
      }
docs: 文字对话框