Jump to content

Can't edit in tinymce editor.Textarea cannot enter.


Recommended Posts


I met with the same question.Can't edit in tinymce editor.

How do you solve?

<div class="main_body">
<form id="sform" action="product-add.php" method="post" enctype="multipart/form-data">
<table class="inputform" cellpadding="1" cellspacing="1">
<td class="label">title</td><td class="input"><textarea class="txt" name="productdescription" style="width:200px;height:110px;"></textarea></td>
<td class="label">product</td><td class="input"><textarea id="contentform" rows="1" cols="1" style="width:580px;height:360px;" name="productcontent"></textarea>
<!-- Load TinyMCE -->
<script type="text/javascript" src="tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript" src="tiny_mce/plugins/swampy_browser/sb.js"></script>
<script type="text/javascript">
        $().ready(function() {
                        // Location of TinyMCE script
                        script_url : 'tiny_mce/tiny_mce.js',

                        // General options
                        theme : "advanced",
                        language : "zh",
                        width : "580",
                        height : "360",
                        add_unload_trigger : true,
                        plugins : "Ybrowser,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",

                        // Theme options
                        theme_advanced_buttons1 : "undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect",
                        theme_advanced_buttons2 : "forecolor,backcolor,del,ins,|,cut,copy,paste,pastetext,pasteword,|,outdent,indent,attribs,|,link,unlink,anchor,image,Ybrowser,media,cleanup,|,preview,code,fullscreen",
                        theme_advanced_buttons3 : "",
                        theme_advanced_buttons4 : "",
                        theme_advanced_toolbar_location : "top",
                        theme_advanced_toolbar_align : "left",
                        theme_advanced_statusbar_location : "bottom",
                        theme_advanced_resizing : false,
                        // Drop lists for link/image/media/template dialogs
                        template_external_list_url : "lists/template_list.js",
                        external_link_list_url : "lists/link_list.js",
                        external_image_list_url : "lists/image_list.js",
                        media_external_list_url : "lists/media_list.js"
                var formoptions = {
                        beforeSubmit: function() {
                        beforeSerialize: function($form, options) {
            success: function (msg) {
                                if(msg == "fishing")
                        showSecond: true,
                        timeFormat: 'hh:mm:ss',
<!-- /TinyMCE -->
Link to comment
Share on other sites

Hello, This is what i read about that application:

"TinyMCE - Javascript WYSIWYG Editor

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB.

TinyMCE has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems."

So, what are you trying to do, and why are you asking for help in a autoit forum?

Maybe i got it all wrong, can you try to explain the problem in more detail?


Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples


Link to comment
Share on other sites

Right. I want to enter a value for automatic operation with Au3.

The following is my operation of the source code

$oIE = _IECreate ([i]""[/i],1,1,1,0")
$oForm =_IEGetObjById ($oIE, "sform")
$oText = _IEFormElementGetObjByName($oForm,"productname")
$oRadio = _IEFormElementGetObjByName($oForm,"productcategory")

[color=#006400]This value is not give[/color]

_IEFormElementSetValue ($oText, $oExcel.cells($Y,2).value)
_IELoadWait ($oIE)
ControlSend("windows", "fishing", "Button1","{ENTER}")


This value is not give

I tried a lot of methods."_IEFormElementGetObjByName ,_IEFormGetObjByName,_IEGetObjById,_IEGetObjByName,_IETagNameGetCollection

But can't write text in the TinyMCE editor


Edited by cnergao
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...