PDA

View Full Version : کمک برای انتقال نوشته به یک ادیتور



xrezax
دوشنبه 14 اسفند 1396, 15:26 عصر
سلام
دوستان هر کاری میکنم ، نمیتونم داخل قسمت متن بلاگفا چیزی بنویسم
میخوام از طریق برنامه داخل بلاگفا نوشته ای بزارم.
اینم عکس ادیتورش

147752

اینم سورس html


<tr>
<td width="100%"><textarea name="txtPostBody" id="txtPostBody" class="textarea" style="width: 580px; height: 241px; display: none;" rows="15" cols="67" aria-hidden="true"></textarea><span role="application" aria-labelledby="txtPostBody_voice" id="txtPostBody_parent" class="mceEditor defaultSkin"><span class="mceVoiceLabel" style="display:none;" id="txtPostBody_voice">متن غنی</span><table role="presentation" id="txtPostBody_tbl" class="mceLayout" style="width: 580px; height: 241px;" cellspacing="0" cellpadding="0"><tbody><tr role="presentation" class="mceFirst"><td class="mceToolbar mceLeft mceFirst mceLast" role="toolbar"><div id="txtPostBody_toolbargroup" role="group" aria-labelledby="txtPostBody_toolbargroup_voice" tabindex="-1"><span role="application"><span id="txtPostBody_toolbargroup_voice" class="mceVoiceLabel" style="display:none;">نوار ابزار</span><table id="txtPostBody_toolbar1" class="mceToolbar mceToolbarRow1 Enabled" role="presentation" tabindex="-1" aria-disabled="false" aria-pressed="false" align="" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceToolbarStart mceToolbarStartButton mceFirst"><span><!-- IE --></span></td><td style="position: relative"><a role="button" id="txtPostBody_bold" href="javascript:;" class="mceButton mceButtonEnabled mce_bold" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_bold_voice" title="متن ضخیم (Ctrl+B)" tabindex="-1"><span class="mceIcon mce_bold"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_bold_voice">متن ضخیم (Ctrl+B)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_italic" href="javascript:;" class="mceButton mceButtonEnabled mce_italic" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_italic_voice" title="متن مورب (Ctrl+I)" tabindex="-1"><span class="mceIcon mce_italic"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_italic_voice">متن مورب (Ctrl+I)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_underline" href="javascript:;" class="mceButton mceButtonEnabled mce_underline" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_underline_voice" title="متن زیر خط دار (Ctrl+U)" tabindex="-1"><span class="mceIcon mce_underline"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_underline_voice">متن زیر خط دار (Ctrl+U)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_strikethrough" href="javascript:;" class="mceButton mceButtonEnabled mce_strikethrough" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_strikethrough_voice" title="خط وسط" tabindex="-1"><span class="mceIcon mce_strikethrough"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_strikethrough_voice">خط وسط</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_justifyleft" href="javascript:;" class="mceButton mceButtonEnabled mce_justifyleft" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_justifyleft_voice" title="تراز چپ" tabindex="-1"><span class="mceIcon mce_justifyleft"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_justifyleft_voice">تراز چپ</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_justifycenter" href="javascript:;" class="mceButton mceButtonEnabled mce_justifycenter" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_justifycenter_voice" title="تراز وسط" tabindex="-1"><span class="mceIcon mce_justifycenter"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_justifycenter_voice">تراز وسط</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_justifyright" href="javascript:;" class="mceButton mceButtonEnabled mce_justifyright" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_justifyright_voice" title="تراز راست" tabindex="-1"><span class="mceIcon mce_justifyright"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_justifyright_voice">تراز راست</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_justifyfull" href="javascript:;" class="mceButton mceButtonEnabled mce_justifyfull" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_justifyfull_voice" title="هم تراز کردن" tabindex="-1"><span class="mceIcon mce_justifyfull"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_justifyfull_voice">هم تراز کردن</span></a></td><td class="mceToolbarEnd"><span><!-- IE --></span></td><td style="position: relative"><span role="listbox" aria-haspopup="true" aria-labelledby="txtPostBody_fontselect_voiceDesc" aria-describedby="txtPostBody_fontselect_voiceDesc"><table role="presentation" tabindex="-1" id="txtPostBody_fontselect" class="mceListBox mceListBoxEnabled mce_fontselect" aria-valuenow="نوع قلم" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceFirst"><span id="txtPostBody_fontselect_voiceDesc" class="voiceLabel" style="display:none;">نوع قلم</span><a id="txtPostBody_fontselect_text" tabindex="-1" href="javascript:;" class="mceText mceTitle" onclick="return false;" onmousedown="return false;">نوع قلم</a></td><td class="mceLast"><a id="txtPostBody_fontselect_open" tabindex="-1" href="javascript:;" class="mceOpen" onclick="return false;" onmousedown="return false;"><span><span style="display:none;" class="mceIconOnly" aria-hidden="true">▼</span></span></a></td></tr></tbody></table></span></td><td style="position: relative"><span role="listbox" aria-haspopup="true" aria-labelledby="txtPostBody_fontsizeselect_voiceDesc" aria-describedby="txtPostBody_fontsizeselect_voiceDesc"><table role="presentation" tabindex="-1" id="txtPostBody_fontsizeselect" class="mceListBox mceListBoxEnabled mce_fontsizeselect" aria-valuenow="اندازه قلم" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceFirst"><span id="txtPostBody_fontsizeselect_voiceDesc" class="voiceLabel" style="display:none;">اندازه قلم</span><a id="txtPostBody_fontsizeselect_text" tabindex="-1" href="javascript:;" class="mceText mceTitle" onclick="return false;" onmousedown="return false;">اندازه قلم</a></td><td class="mceLast"><a id="txtPostBody_fontsizeselect_open" tabindex="-1" href="javascript:;" class="mceOpen" onclick="return false;" onmousedown="return false;"><span><span style="display:none;" class="mceIconOnly" aria-hidden="true">▼</span></span></a></td></tr></tbody></table></span></td><td class="mceToolbarStart"><span><!-- IE --></span></td><td style="position: relative"><div id="txtPostBody_forecolor" role="button" tabindex="-1" aria-labelledby="txtPostBody_forecolor_voice" aria-haspopup="true"><table role="presentation" class="mceSplitButton mceSplitButtonEnabled mce_forecolor" title="انتخاب رنگ متن" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceFirst"><a role="button" id="txtPostBody_forecolor_action" tabindex="-1" href="javascript:;" class="mceAction mce_forecolor" onclick="return false;" onmousedown="return false;" title="انتخاب رنگ متن"><span class="mceAction mce_forecolor"></span><span class="mceVoiceLabel mceIconOnly" id="txtPostBody_forecolor_voice" style="display:none;">انتخاب رنگ متن</span><div id="txtPostBody_forecolor_preview" class="mceColorPreview" style="background-color: rgb(136, 136, 136);"></div></a></td><td class="mceLast"><a role="button" id="txtPostBody_forecolor_open" tabindex="-1" href="javascript:;" class="mceOpen mce_forecolor" onclick="return false;" onmousedown="return false;" title="انتخاب رنگ متن"><span class="mceOpen mce_forecolor"><span style="display:none;" class="mceIconOnly" aria-hidden="true">▼</span></span></a></td></tr></tbody></table></div></td><td style="position: relative"><div id="txtPostBody_backcolor" role="button" tabindex="-1" aria-labelledby="txtPostBody_backcolor_voice" aria-haspopup="true"><table role="presentation" class="mceSplitButton mceSplitButtonEnabled mce_backcolor" title="انتخاب رنگ زمینه" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceFirst"><a role="button" id="txtPostBody_backcolor_action" tabindex="-1" href="javascript:;" class="mceAction mce_backcolor" onclick="return false;" onmousedown="return false;" title="انتخاب رنگ زمینه"><span class="mceAction mce_backcolor"></span><span class="mceVoiceLabel mceIconOnly" id="txtPostBody_backcolor_voice" style="display:none;">انتخاب رنگ زمینه</span><div id="txtPostBody_backcolor_preview" class="mceColorPreview" style="background-color: rgb(136, 136, 136);"></div></a></td><td class="mceLast"><a role="button" id="txtPostBody_backcolor_open" tabindex="-1" href="javascript:;" class="mceOpen mce_backcolor" onclick="return false;" onmousedown="return false;" title="انتخاب رنگ زمینه"><span class="mceOpen mce_backcolor"><span style="display:none;" class="mceIconOnly" aria-hidden="true">▼</span></span></a></td></tr></tbody></table></div></td><td style="position: relative"><a role="button" id="txtPostBody_removeformat" href="javascript:;" class="mceButton mceButtonEnabled mce_removeformat" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_removeformat_voice" title="حذف قالب بندی" tabindex="-1"><span class="mceIcon mce_removeformat"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_removeformat_voice">حذف قالب بندی</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_image" href="javascript:;" class="mceButton mceButtonEnabled mce_image" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_image_voice" title="درج/ویرایش تصویر" tabindex="-1"><span class="mceIcon mce_image"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_image_voice">درج/ویرایش تصویر</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_link" href="javascript:;" class="mceButton mce_link mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_link_voice" title="درج/ویرایش لینک" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_link"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_link_voice">درج/ویرایش لینک</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_unlink" href="javascript:;" class="mceButton mce_unlink mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_unlink_voice" title="غیر لینک کردن" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_unlink"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_unlink_voice">غیر لینک کردن</span></a></td><td class="mceToolbarEnd mceToolbarEndButton mceLast"><span><!-- IE --></span></td></tr></tbody></table><table id="txtPostBody_toolbar2" class="mceToolbar mceToolbarRow2 Enabled" role="presentation" tabindex="-1" aria-disabled="false" aria-pressed="false" align="" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceToolbarStart mceToolbarStartButton mceFirst"><span><!-- IE --></span></td><td style="position: relative"><a role="button" id="txtPostBody_emotions" href="javascript:;" class="mceButton mceButtonEnabled mce_emotions" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_emotions_voice" title="شکلک ها" tabindex="-1"><span class="mceIcon mce_emotions"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_emotions_voice">شکلک ها</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_cut" href="javascript:;" class="mceButton mceButtonEnabled mce_cut" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_cut_voice" title="برش (Cut)" tabindex="-1"><span class="mceIcon mce_cut"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_cut_voice">برش (Cut)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_copy" href="javascript:;" class="mceButton mceButtonEnabled mce_copy" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_copy_voice" title="کپی (Copy)" tabindex="-1"><span class="mceIcon mce_copy"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_copy_voice">کپی (Copy)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_paste" href="javascript:;" class="mceButton mceButtonEnabled mce_paste" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_paste_voice" title="چسباندن (Paste)" tabindex="-1"><span class="mceIcon mce_paste"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_paste_voice">چسباندن (Paste)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_pastetext" href="javascript:;" class="mceButton mceButtonEnabled mce_pastetext" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_pastetext_voice" title="چسباندن به عنوان متن ساده" tabindex="-1"><span class="mceIcon mce_pastetext"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_pastetext_voice">چسباندن به عنوان متن ساده</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_pasteword" href="javascript:;" class="mceButton mceButtonEnabled mce_pasteword" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_pasteword_voice" title="چسباندن از وُرد" tabindex="-1"><span class="mceIcon mce_pasteword"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_pasteword_voice">چسباندن از وُرد</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_bullist" href="javascript:;" class="mceButton mceButtonEnabled mce_bullist" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_bullist_voice" title="لیست نامرتب" tabindex="-1" aria-pressed="false"><span class="mceIcon mce_bullist"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_bullist_voice">لیست نامرتب</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_numlist" href="javascript:;" class="mceButton mceButtonEnabled mce_numlist" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_numlist_voice" title="لیست مرتب" tabindex="-1" aria-pressed="false"><span class="mceIcon mce_numlist"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_numlist_voice">لیست مرتب</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_undo" href="javascript:;" class="mceButton mce_undo mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_undo_voice" title="برگشت به عمل قبل (Ctrl Z)" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_undo"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_undo_voice">برگشت به عمل قبل (Ctrl Z)</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_redo" href="javascript:;" class="mceButton mce_redo mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_redo_voice" title="رفتن به عمل بعد (Ctrl Y)" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_redo"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_redo_voice">رفتن به عمل بعد (Ctrl Y)</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_code" href="javascript:;" class="mceButton mceButtonEnabled mce_code" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_code_voice" title="ویرایش سورس HTML" tabindex="-1"><span class="mceIcon mce_code"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_code_voice">ویرایش سورس HTML</span></a></td><td class="mceToolbarEnd mceToolbarEndButton mceLast"><span><!-- IE --></span></td></tr></tbody></table><table id="txtPostBody_toolbar3" class="mceToolbar mceToolbarRow3 Enabled" role="presentation" tabindex="-1" aria-disabled="false" aria-pressed="false" align="" cellspacing="0" cellpadding="0"><tbody><tr><td class="mceToolbarStart mceToolbarStartButton mceFirst"><span><!-- IE --></span></td><td style="position: relative"><a role="button" id="txtPostBody_table" href="javascript:;" class="mceButton mceButtonEnabled mce_table" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_table_voice" title="درج/ویرایش جدول" tabindex="-1"><span class="mceIcon mce_table"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_table_voice">درج/ویرایش جدول</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_row_props" href="javascript:;" class="mceButton mce_row_props mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_row_props_voice" title="مشخصات سطر جدول" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_row_props"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_row_props_voice">مشخصات سطر جدول</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_cell_props" href="javascript:;" class="mceButton mce_cell_props mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_cell_props_voice" title="مشخصات سلول جدول" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_cell_props"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_cell_props_voice">مشخصات سلول جدول</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_row_before" href="javascript:;" class="mceButton mce_row_before mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_row_before_voice" title="درج سطر در قبل" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_row_before"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_row_before_voice">درج سطر در قبل</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_row_after" href="javascript:;" class="mceButton mce_row_after mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_row_after_voice" title="درج سطر در بعد" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_row_after"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_row_after_voice">درج سطر در بعد</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_delete_row" href="javascript:;" class="mceButton mce_delete_row mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_delete_row_voice" title="حذف سطر" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_delete_row"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_delete_row_voice">حذف سطر</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_col_before" href="javascript:;" class="mceButton mce_col_before mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_col_before_voice" title="درج ستون در قبل" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_col_before"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_col_before_voice">درج ستون در قبل</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_col_after" href="javascript:;" class="mceButton mce_col_after mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_col_after_voice" title="درج ستون در بعد" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_col_after"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_col_after_voice">درج ستون در بعد</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_delete_col" href="javascript:;" class="mceButton mce_delete_col mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_delete_col_voice" title="حذف ستون" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_delete_col"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_delete_col_voice">حذف ستون</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_split_cells" href="javascript:;" class="mceButton mce_split_cells mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_split_cells_voice" title="تقسیم سلول های جدول ادغام شده" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_split_cells"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_split_cells_voice">تقسیم سلول های جدول ادغام شده</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_merge_cells" href="javascript:;" class="mceButton mce_merge_cells mceButtonDisabled" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_merge_cells_voice" title="ادغام سلول های جدول" tabindex="-1" aria-disabled="true"><span class="mceIcon mce_merge_cells"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_merge_cells_voice">ادغام سلول های جدول</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_hr" href="javascript:;" class="mceButton mceButtonEnabled mce_hr" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_hr_voice" title="درج خط افقی" tabindex="-1"><span class="mceIcon mce_hr"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_hr_voice">درج خط افقی</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_sub" href="javascript:;" class="mceButton mceButtonEnabled mce_sub" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_sub_voice" title="پایین نویس" tabindex="-1"><span class="mceIcon mce_sub"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_sub_voice">پایین نویس</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_sup" href="javascript:;" class="mceButton mceButtonEnabled mce_sup" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_sup_voice" title="بالا نویس" tabindex="-1"><span class="mceIcon mce_sup"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_sup_voice">بالا نویس</span></a></td><td style="position: relative"><span class="mceSeparator" role="separator" aria-orientation="vertical" tabindex="-1"></span></td><td style="position: relative"><a role="button" id="txtPostBody_ltr" href="javascript:;" class="mceButton mceButtonEnabled mce_ltr" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_ltr_voice" title="جهت چپ به راست" tabindex="-1"><span class="mceIcon mce_ltr"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_ltr_voice">جهت چپ به راست</span></a></td><td style="position: relative"><a role="button" id="txtPostBody_rtl" href="javascript:;" class="mceButton mceButtonEnabled mce_rtl" onmousedown="return false;" onclick="return false;" aria-labelledby="txtPostBody_rtl_voice" title="جهت راست به چپ" tabindex="-1"><span class="mceIcon mce_rtl"></span><span class="mceVoiceLabel mceIconOnly" style="display: none;" id="txtPostBody_rtl_voice">جهت راست به چپ</span></a></td><td class="mceToolbarEnd mceToolbarEndButton mceLast"><span><!-- IE --></span></td></tr></tbody></table></span></div><a href="#" accesskey="z" title="پرش به دکمه های ابزار - Alt+Q ، پرش به ویرایشگر - Alt-Z ، پرش به مسیر عنصر - Alt-X" onfocus="tinyMCE.getInstanceById('txtPostBody').focus();"><!-- IE --></a></td></tr><tr class="mceLast"><td class="mceIframeContainer mceFirst mceLast"><iframe id="txtPostBody_ifr" src="javascript:&quot;&quot;" allowtransparency="true" title="متن غنیکلیدهای ALT-F10 را برای نوار ابزار بفشارید. کلیدهای ALT-0 را برای راهنما" style="width: 100%; height: 172px; display: block;" frameborder="0"></iframe></td></tr></tbody></table></span></td>
</tr>

ادیتورش هم اسمش : tinymce

اینم کد فرم


<body id="tinymce" class="mceContentBody " onload="" spellcheck="false" dir="ltr" contenteditable="true"></body>


اینم کد سی شارپم.


HtmlWindow Frame = webBrowser1.Document.Window.Frames[0];

HtmlElementCollection BodyElement = Frame.Document.GetElementsByTagName("body");
BodyElement[0].InnerText = "For Test";

تمام اینترنت رو هم زیرو کردم به هیچ نتیجه ای نرسیدم.
ممنون میشم دوستان کمک کن

mr.sirwan
دوشنبه 14 اسفند 1396, 20:25 عصر
دوست عزیز این ادیتورها روی اینپوتی از نوع textarea سوار میشن یعنی شما واسه خوندن و نوشتن متن ازش توی کد نویسی با textarea سروکار داری نه با editor، توی این کد html که فرستادین، هم name و هم ID تکست اریا مشخصه، با همون میتونین متنتون رو بفرستین، فک نکنم چیز پیچیده ای باشه، فقط باید اون فیلدی که مقدار تکست اریا رو میگیره باید AllowHtml باشه و دیتاتایپش هم باید html باشه

xrezax
دوشنبه 14 اسفند 1396, 21:37 عصر
چک کردم. امکان پذیر نبود.
ممنون میشم خودتون چک کنین و نتیجه رو ببینید

سید حمید حق پرست
سه شنبه 15 اسفند 1396, 11:38 صبح
سلام
کد زیر تست کنید :
HtmlDocument doc = this.webBrowser1.Document;
doc.GetElementById("myId").SetAttribute("Value", "someValue");

xrezax
سه شنبه 15 اسفند 1396, 14:32 عصر
اینم چک کردم. امکان پذیر نبود.

ژیار رحیمی
چهارشنبه 16 اسفند 1396, 10:41 صبح
سلام
با کنترل webbrowser دات نت نمیشه چنین کاری رو انجام داد.تمام کارهای ممکن که بتوان اطلاعات درون یک page را استخراج ،ارسال اطلاعات به textBox ها و فراخوانی رویداد دکمه های موجود در page را از طریق Selenium WebDriver قابل انجام هست.
https://www.seleniumhq.org/docs/03_webdriver.jsp

xrezax
جمعه 18 اسفند 1396, 04:16 صبح
میشه مثالی بزنین

ژیار رحیمی
جمعه 18 اسفند 1396, 11:33 صبح
https://www.codeproject.com/Articles/1016775/Getting-Started-with-WebDriver-Csharp-in-Minutes
http://scraping.pro/example-of-scraping-with-selenium-webdriver-in-csharp/

xrezax
جمعه 18 اسفند 1396, 14:32 عصر
من با این کد ویژوال کارم راه میوفته. امکان داره تبدیلش کینین به c#

iframe1 = WebBrowser1.Document.getElementsByTagName("body")
iframe2 = iframe1.contentwindow.Document.getElementsByTagNam e("input")
iframe2.contentwindow.Document.body.innerHTML = Text2.Text