Skip to content

Commit

Permalink
fix tinymce README
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Nov 2, 2023
1 parent f6505be commit e409355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pat/tinymce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Use the TinyMCE editor for HTML editing.

## Configuration

| Option | Type | Default | Description |
| :----------------: | :-----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ----------- | --------------------------------------------- | ------------------------------ | ----------------------------------------------------------- | ---- |
| Option | Type | Default | Description |
| :----------------: | :-----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| relatedItems | object | { attributes: ["UID", "Title", "Description", "getURL", "portal_type", "path", "ModificationDate"], batchSize: 20, basePath: "/", vocabularyUrl: null, width: 500, maximumSelectionSize: 1, placeholder: "Search for item on site..." } | Related items pattern options. |
| upload | object | { attributes: look at upload pattern for getting the options list } | Upload pattern options. |
| text | object | { insertBtn: "Insert", cancelBtn: "Cancel", insertHeading: "Insert link", title: "Title", internal: "Internal", external: "External", email: "Email", anchor: "Anchor", subject: "Subject" image: "Image", imageAlign: "Align", scale: "Size", alt: "Alternative Text", captionFromDescription: "Show Image Caption from Image Description", caption: "Image Caption", externalImage: "External Image URI"} | Translation strings |
| imageScales | string | | Image scale name/value object-array or JSON string for use in the image dialog. |
| targetList | array | [ {text: "Open in this window / frame", value: ""}, {text: "Open in new window", value: "_blank"}, {text: "Open in parent window / frame", value: "_parent"}, {text: "Open in top frame (replaces all frames)", value: "_top"}] | TODO |
| imageTypes | string | 'Image' | TODO |
| folderTypes | string | 'Folder,Plone Site' | TODO |
| tiny | object | { plugins: [ "advlist autolink lists charmap print preview anchor", "usearchreplace visualblocks code fullscreen autoresize", "insertdatetime media table contextmenu paste plonelink ploneimage" ], menubar: "edit table format tools view insert", toolbar: "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | unlink plonelink ploneimage", autoresize_max_height: 1500 } | TODO |
| tiny | object | { plugins: [ "advlist autolink lists charmap print preview anchor", "usearchreplace visualblocks code fullscreen autoresize", "insertdatetime media table contextmenu paste plonelink ploneimage" ], menubar: "edit table format tools view insert", toolbar: "undo redo \| styleselect \| bold italic \| alignleft aligncenter alignright alignjustify \| bullist numlist outdent indent \| unlink plonelink ploneimage", autoresize_max_height: 1500 } | TODO |
| prependToUrl | string | "" | Text to prepend to generated internal urls. |
| appendToUrl | string | "" | Text to append to generated internal urls. |
| prependToScalePart | string | "/imagescale/" | Text to prepend to generated image scale url part. |
Expand Down

0 comments on commit e409355

Please sign in to comment.