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

校外教學(木柵動物園)

校外教學(木柵動物園)

期中考週的校外教學,來到了上回去不成的木柵動物園。 炎熱的天,帶著位小蘿蔔頭,一邊觀察一邊完成老師交...

清除網頁暫存(no cache)

清除網頁暫存(no cach...

pexelsphoto5 在製作專案時,有沒有試過JS 或 CSS 明明就已經更新了~ 但頁面卻像鬼...

用distinct在MySQL中查詢多條不重複記錄值

用distinct在MySQ...

select *, count(distinct name) from table group by...

Recommended reading

Other stories happened at this address

限期三天

限期三天

s 照顧小小孩最痛苦的事不外乎是不吃、不喝、不大便。 最近這傢伙每天都給我上演這些戲碼(╯з╰) 都...

你是否知道我故事中的角色?

你是否知道我故事中的角色?

那天~突然在想....... 有看我故事的人,是否會知道我寫的那些故事裡,裏頭的人事物對我有何意義?...

我的第一次父親節,這傢伙卻只對蛋糕有興趣~

我的第一次父親節,這傢伙卻只...

年月日 終於,我確確實實的在過著父親節了。 雖然U還小,無法趁這機會帶他出去過節~ 在家裡,其實也挺...

所以兒子,​​​​​​​你希望我待會喝鹹魚咖啡?

所以兒子,​​​​​​​你希...

s 歲個月,開始會跟我搶咖啡喝~ 我說U啊,等你學會怎麼開再來跟我搶吧( ̄∇ ̄) 然後,他開始拿著我...

Today home activity: Learning variety shapes and their names

Today home act...

Today home activity: Learning variety shapes and t...

第一天上學,意外的順利。

第一天上學,意外的順利。

沒有分離焦慮,沒有十八相送。 U第一天上學竟然意外的順利\(^o^)/ 早上帶他去幼稚園,跟他說爸爸...

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