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

Photoshop 曲線文字建置

Photoshop 曲線文字...

Photoshop一直都是很強悍的繪圖軟體。 裡頭的【鋼筆工具】,可以拉貝茲曲線的.... 我剛開始...

解決png圖檔GD合圖後背景色塊問題

解決png圖檔GD合圖後背景...

重點在於設定圖片走透明通道~ $img = imagecreatefrompng($src); im...

PHP 時間時區修正

PHP 時間時區修正

一般來說...PHP取得的時間,是格林威治的時間: 但如果要將時間調成臺灣的時區,或其他時區的話,必...

Recommended reading

Other stories happened at this address

1歲5個月

1歲5個月

s 看著他漸漸長大,其實還真有點忘記算他目前是多大了~ 歲個月,我想,以後躺在我腳上就睡著的時間慢慢...

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

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

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

淡紅色小藥丸

淡紅色小藥丸

s Drug Name Diclofenac mg tab 從沒想過,所謂的坐骨神經痛會發生在自己身...

還是Chloe魅力無敵啊~

還是Chloe魅力無敵啊~

趁著兒子午睡,悄悄的把他懷中百味雜陳的Chloe送去洗澡~ 想說要過年了,也該清潔一下了。 怎知兒子...

快樂星期五,外賣天~自從當了爸,假日總是令人期待的( ̄∇ ̄)

快樂星期五,外賣天~自從當了...

快樂星期五,外賣天~自從當了爸,假日總是令人期待的( ̄∇ ̄)

一碗麵,簡簡單單的午餐、簡簡單單的滿足。

一碗麵,簡簡單單的午餐、簡簡...

塊錢的豆芽、塊錢的韭菜、塊錢的青江菜、塊錢的香菜、塊的細黃麵。 加上紅蔥頭肉燥、一點黑醋,攪拌一起。...

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