Skip to content

Commit

Permalink
Merge pull request #50 from mostafaznv/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mostafaznv committed May 11, 2023
2 parents b0e6102 + efb9483 commit 60d963c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,18 @@ $this->app->bind('ckeditor-image-storage', MyImageStorage::class);

## CkEditor Field Options

| method | Type | default | description |
|------------------------|---------|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| toolbar | Array | from config file | Set toolbar items |
| height | Integer | from config file | Set editor's height |
| limitOnIndex | Integer | 85 | Set character limit on index |
| contentLanguage | String | from config file | Language of editor's content. if you want to change text-direction (RTL, LTR), you need this |
| textPartLanguage | Array | from config file | The text part language feature provides the ability to mark the language of selected text fragments. It makes working with multilingual content convenient and ensures that user agents can correctly present the content written in multiple languages, so graphical browsers and screen readers are able to identify how to pronounce text and display characters. |
| shouldNotGroupWhenFull | Boolean | from config file | Indicates whether the editor shows 3 dots in overflow mode |
| imageBrowser | Boolean | from config file | Enable/Disable image picker |
| videoBrowser | Boolean | from config file | Enable/Disable video picker |
| snippets | Array | from config file | Set Snippet items |
| headings | Array | from config file | Set heading options |
| method | Type | default | description |
|------------------------|---------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| toolbar | Array | from config file | Set toolbar items |
| height | Integer | from config file | Set editor's height |
| limitOnIndex | Integer | 85 | Set character limit on index |
| contentLanguage | String | from config file | Language of editor's content. if you want to change text-direction (RTL, LTR), you need this |
| textPartLanguage | Array | from config file | The text part language feature provides the ability to mark the language of selected text fragments. It makes working with multilingual content convenient and ensures that user agents can correctly present the content written in multiple languages, so graphical browsers and screen readers are able to identify how to pronounce text and display characters. |
| shouldNotGroupWhenFull | Boolean | from config file | Indicates whether the editor shows 3 dots in overflow mode |
| imageBrowser | Boolean | from config file | Enable/Disable image picker |
| videoBrowser | Boolean | from config file | Enable/Disable video picker |
| snippets | Array | from config file | Set Snippet items |
| headings | Array | from config file | Set heading options |



Expand Down
12 changes: 6 additions & 6 deletions config/nova-ckeditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,37 +77,37 @@
],
[
'model' => 'heading1',
'view' => 'h1',
'view' => 'h1',
'title' => 'Heading 1',
'class' => 'ck-heading_heading1',
],
[
'model' => 'heading2',
'view' => 'h2',
'view' => 'h2',
'title' => 'Heading 2',
'class' => 'ck-heading_heading2',
],
[
'model' => 'heading3',
'view' => 'h3',
'view' => 'h3',
'title' => 'Heading 3',
'class' => 'ck-heading_heading3',
],
[
'model' => 'heading4',
'view' => 'h4',
'view' => 'h4',
'title' => 'Heading 4',
'class' => 'ck-heading_heading4',
],
[
'model' => 'heading5',
'view' => 'h5',
'view' => 'h5',
'title' => 'Heading 5',
'class' => 'ck-heading_heading5',
],
[
'model' => 'heading6',
'view' => 'h6',
'view' => 'h6',
'title' => 'Heading 6',
'class' => 'ck-heading_heading6',
]
Expand Down

0 comments on commit 60d963c

Please sign in to comment.