TinyMCE textarea 输入框外部程序动态修改方法 Public Function C2IE_TINYMCE(ByVal id As String, ByVal value As String) Dim ielist As New ShellWindows Dim browser Dim doc Dim cmd As String On Error Resume Next For Each browser In ielist If Mid(browser.Document.Title,…
queryTextArea(){ var textAll = document.getElementById('templaInner').querySelectorAll("textarea"); textAll.forEach(el=>{ var val = $(el).val(); val = val.replace(/\n/g,"<br/>"); $(el).parent().append('<div style="padd…