-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from mostafaznv/dev
fix: disable size check for null/zero values
- Loading branch information
Showing
5 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
return [ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
docs/advanced-usage/configuration/toolbars/toolbar-1/insert-image-size.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
description: toolbars.toolbar-1.image.insert.size | ||
--- | ||
|
||
# Insert Image Size | ||
|
||
<table><thead><tr><th width="351.3333333333333">Property Name</th><th width="166">Type</th><th>Default</th></tr></thead><tbody><tr><td>toolbars.toolbar-1.image.size</td><td>int</td><td>1500</td></tr></tbody></table> | ||
|
||
Since `v6.2.0` NovaCkEditor includes a convenient feature that allows users to <mark style="color:red;">drag</mark> and <mark style="color:red;">paste</mark> images directly into the CKEditor field. These images are then automatically uploaded. This functionality simplifies the process of inserting images into your content. | ||
|
||
With this option, you have the flexibility to change the maximum <mark style="color:red;">file-size</mark> for uploaded images. The file size is measured in <mark style="color:red;">kilobytes</mark>. Setting this option to <mark style="color:red;">null</mark> or <mark style="color:red;">zero</mark> means that you don't want any size check for uploaded files. | ||
|
12 changes: 12 additions & 0 deletions
12
docs/advanced-usage/configuration/toolbars/toolbar-1/insert-image-types.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
description: toolbars.toolbar-1.image.insert.types | ||
--- | ||
|
||
# Insert Image Types | ||
|
||
<table><thead><tr><th width="351.3333333333333">Property Name</th><th width="166">Type</th><th>Default</th></tr></thead><tbody><tr><td>toolbars.toolbar-1.image.insert.types</td><td>array</td><td>gif, png, jpg, jpeg, webp</td></tr></tbody></table> | ||
|
||
Since `v6.2.0` NovaCkEditor includes a convenient feature that allows users to <mark style="color:red;">drag</mark> and <mark style="color:red;">paste</mark> images directly into the CKEditor field. These images are then automatically uploaded. This functionality simplifies the process of inserting images into your content. | ||
|
||
By using this option, you can change accepted mime-types based on your specific requirements. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters