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

修練中

修練中

假日二胡修練中。

分享 (励志短片) 王德顺 《最炫东北人》 完整版 Wang Deshun - Coolest Northeasterner (Inspirational Short Film)

分享 (励志短片) 王德顺 ...

我們都還年輕啊~ 還是可以一直做夢下去的。 只要有夢,我將可以走的更遠。 我是chung 主業做夢,...

讓圖片上傳前先產生預覽

讓圖片上傳前先產生預覽

專案需要,上傳圖片至網站時先產生預覽圖~ 參考了stackoverflow.com裡討論的的方式

Recommended reading

Other stories happened at this address

有沒有試過,被自己小孩叫醒的經驗?

有沒有試過,被自己小孩叫醒的...

s 自從有了U,想要睡到自然醒? 醒醒吧,這種事絕對不可能會發生的~ 為了叫我起床,首先,他把他的貼...

我吃飽了,剩下的幫我打包。( ̄∇ ̄)

我吃飽了,剩下的幫我打包。(...

我吃飽了,剩下的幫我打包。( ̄∇ ̄)

我們家,在下著豆腐雨呢,看看這傢伙做了些甚麼~

我們家,在下著豆腐雨呢,看看...

我們家,在下著豆腐雨呢,看看這傢伙做了些甚麼~

天!39快要失守了~

天!39快要失守了~

今早,FB傳來一個訊息...因為一位同學生日到了..... 我看著FB畫面中顯示著同學歲.... 靠...

整合Facebook粉絲專頁的即時訊息,Zotabox網站打造免費線上支援平台。

整合Facebook粉絲專頁...

還記得在msn的年代,msn有提供在網站上架構即時通訊功能,方便網站管理者與user直接交談~ 現在...

5G最近口水疹嚴重的很啊~心疼死了

5G最近口水疹嚴重的很啊~心...

G最近口水疹嚴重的很啊~心疼死了

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