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的日期時間相減方法之二

PHP的日期時間相減方法之二...

這幾天很忙...忙著寫客戶的系統.. 忙到沒時間亂開其他網站... 忙到沒時間去研究新東西... 忙...

判斷捲軸的位置

判斷捲軸的位置

當捲軸往下移動時,判段目前移動到哪個位置... Javascript部份 $(function(){...

PHP網路爬蟲之抓取meta value

PHP網路爬蟲之抓取meta...

最近在研究著如何抓取網頁中的meta值... php中的getmetatags函式可以抓取meta ...

Recommended reading

Other stories happened at this address

看來我們家有好些日子可以充滿南洋風味~

看來我們家有好些日子可以充滿...

看來我們家有好些日子可以充滿南洋風味~

過了三點一刻,但還是先來杯南洋咖啡吧~

過了三點一刻,但還是先來杯南...

過了三點一刻,但還是先來杯南洋咖啡吧~

果然還是紅白機對了胃口~

果然還是紅白機對了胃口~

果然還是紅白機對了胃口~

烈火紅脣

烈火紅脣

s 實驗性插畫,烈火紅唇。 嘴唇肥厚:個性忠厚,誠實可靠、講信用,比較容易吃虧上當。感情熱情似火,感...

5G,5個月了

5G,5個月了

個月的G,口水疹是目前最頭痛的問題。 每每看著她紅紅的頸項,很不捨。 誰叫這傢伙玩口水玩出心得了,最...

獨自一個人的2個星期,最後幾個小時。

獨自一個人的2個星期,最後幾...

s 終於,獨自一個人的時間~只剩下最後幾個小時.....。 而本該要趕工的案子也差不多完成收尾~在號...

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