### imageManagerDeleteMethod
| Type: | String |
|---|
| Default: | 'POST' |
| Plugin: | image_manager.min.js |
HTTP圖像管理器刪除圖像請求類型。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerDeleteMethod: 'DELETE'
});
~~~
### imageManagerDeleteParams
| Type: | Object |
|---|
| Default: | {}|
| Plugin: | image_mananger.min.js |
傳遞給圖像管理器圖像刪除請求的附加參數。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerDeleteParams: {user_id: 4219762}
});
~~~
### imageManagerDeleteURL
| Type: | String |
|---|
| Default: | '' |
| Plugin: | image_manager.min.js |
要刪除圖像的http請求的URL。請求將包含圖像的源?` SRC `?參數。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerDeleteURL: 'http://example.com/delete_image'
});
~~~
### imageManagerLoadMethod
| Type: | String |
|---|
| Default: | 'GET'|
| Plugin: | image_manager.min.js |
HTTP圖像管理器加載圖像請求類型。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerLoadMethod: 'POST'
});
~~~
### imageManagerLoadParams
| Type: | Object |
|---|
| Default: | {} |
| Plugin: | image_manager.min.js |
從映像管理器傳遞給加載映像請求的附加參數。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerLoadParams: {user_id: 4219762}
});
~~~
### imageManagerLoadURL
| Type: | String |
|---|
| Default: | 'http://i.froala.com/images' |
| Plugin: | image_manager.min.js |
HTTP請求的URL,以加載出現在圖像管理器中的圖像頁。響應應該是一個數組的對象為每個圖像,類似:
~~~
[
{
url: 'http://exmaple.com/images/photo1.jpg',
thumb: "http://exmaple.com/thumbs/photo1.jpg",
tag: 'flower'
},
{
url: 'http://exmaple.com/images/photo2.jpg',
thumb: "http://exmaple.com/thumbs/photo2.jpg",
tag: 'sport'
}
]
~~~
在?` URL `?是必需的,?`thumb`?推薦和?`tag`?是可選的。圖像對象也可以包含額外的數據將被保存為圖像屬性?`data-* `。例如:
~~~
[
{
url: 'http://exmaple.com/images/photo1.jpg',
thumb: "http://exmaple.com/thumbs/photo1.jpg",
tag: 'flower'
name: "Photo 1 Name",
id: 103454285,
}
]
~~~
`<img src='http://exmaple.com/images/photo1.jpg' data-name='Photo 1 Name' data-id='103454285'>`
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerLoadURL: 'http://example.com/load_images'
});
~~~
### imageManagerPageSize
| Type: | Number |
| Default: | 12 |
| Plugin: | image_manager.min.js |
圖像管理器中每頁加載的圖像數。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerPageSize: 10
});
~~~
### imageManagerPreloader
| Type: | String |
|---|
| Default: | '' |
| Plugin: | image_manager.min.js |
在圖像管理器中從服務器加載圖像時要顯示的GIF圖像的路徑。如果沒有指定選項,則會出現“加載”文本。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerPreloader: '/images/loader.gif'
});
~~~
### imageManagerScrollOffset
| Type: | Number |
|---|
| Default: | 20 |
| Plugin: | image_manager.min.js |
像素從底部的滾動內容觸發圖像下一頁加載的距離。
#### CODE EXAMPLE
~~~
$('.selector').froalaEditor({
imageManagerScrollOffset: 10
});
~~~
- 介紹
- 引用調用
- 選項(Options)
- 字符計數器(CharCounter)
- 代碼美化工具(CodeBeautifier)
- 代碼視圖(CodeView)
- 顏色(Colors)
- 拖動(Draggable)
- 表情(Emoticons)
- 實體符(Entities)
- 文件(File)
- 字體家族(FontFamily)
- 字體大小(FontSize)
- 一般選項(General)
- 圖像(Image)
- 圖像管理器(ImageManager)
- 內聯樣式(InlineStyle)
- 語言(Language)
- 線路斷路器(LineBreaker)
- 鏈接(Link)
- 段落格式(ParagraphFormat)
- 快速插入(Quick Insert)
- 保存(Save)
- Table
- Video
- Methods
- Align
- Button
- CharCounter
- Clean
- Code View
- Colors
- Commands
- Core
- Cursor
- Edit
- Emoticons
- Events
- File
- Font Family
- Font Size
- Format
- Fullscreen
- General
- Helpers
- HTML
- Image
- Image Manager
- Inline Style
- Keys
- Language
- Link
- Lists
- Markers
- Node
- Paragraph Format
- Paragraph Style
- Placeholder
- Popups
- Position
- Quote
- Save
- Selection
- Size
- Snapshot
- Table
- Toolbar
- Tooltip
- Undo
- Video