Loading...

Html編輯器Ckeditor 4.0內容讀取與寫入方式

Temperature: 0 °C

ChungChung
author_tools


Html編輯器Ckeditor 4.0內容讀取與寫入方式
在Html編輯器裡,Ckeditor功能很強大雖然好用....但還是有很多部份需要微調啊...

原本是使用寫入內容的方式,將故事內容寫入編輯器....但似乎還是不順....@@

目前改用插入內容的方式,有稍微解決了問題。

讀取內容

var ct= CKEDITOR.instances.desc.getData();

寫入內容
CKEDITOR.instances.desc.setData( "Insert value" ) ;

取得焦點
CKEDITOR.instances.desc.focus();

插入內容
CKEDITOR.instances.desc.insertHtml( "insert value" ) ;

Url link

台北市內湖區江南街71巷75弄 Go

https://innstory.com/story-Html編輯器Ckeditor_40內容讀取與寫入方式-521
寫程式筆記

Prev
 在山野對話whisperland_cafe

Next
回家 

Nearby Attractions

台北市內湖區江南街71巷75弄-Nearby Attractions

  • 原臺北信用組合(今合作金庫城... Go
  • 臺灣師範大學原高等學校校舍(... Go
  • 台灣基督長老教會大稻埕教會 Go
  • 臨濟護國禪寺 Go
  • 艋舺地藏庵 Go
  • 臺北孔子廟 Go

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

PHP 利用phpmailer 寄信...

PHP 利用phpmaile...

一般來說其實PHP本身已經提供了Mail()函數可以使用,但由於一些令人不愉快的原因...我租用的V...

apache下設置不顯示目錄列表 Indexes FollowSymLinks

apache下設置不顯示目錄...

pexelsphoto5 選擇編輯httpd.conf文件 vi conf/httpd.conf 找...

使FCKeditor所上傳的圖檔檔名亂數化

使FCKeditor所上傳的...

編輯"../fckor/or/filemanager/connectors/php/com...

Recommended reading

Other stories happened at this address

到底要不要叫5U起來喝奶我很猶豫啊~

到底要不要叫5U起來喝奶我很...

雖然說不上是天人交戰~ 但他現在睡的那麼熟,我真的很猶豫到底要不要叫他起來喝奶啊...@@ 捨不得叫...

我說大爺啊~你可以再爽一點沒關係....

我說大爺啊~你可以再爽一點沒...

我說大爺啊~你可以再爽一點沒關係....

笑起來,跟Mandy小時候一模一樣。

笑起來,跟Mandy小時候一...

笑起來,跟Mandy小時候一模一樣。

When caterpillar grow up become butterfly

When caterpill...

When caterpillar grow up become butterfly

獨自一個人的2個星期,第2晚,手機上傳來兒子的新把戲。

獨自一個人的2個星期,第2晚...

一早醒來,發現床原來是這麼的大,而且我還睡在Mandy的位子上。 想想以往我都是睡在床邊上,現在床變...

嗯,聽說是在模仿小丸子的髮型...

嗯,聽說是在模仿小丸子的髮型...

嗯,聽說是在模仿小丸子的髮型...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format