Skip to content

Commit

Permalink
Released v1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
newbthenewbd committed Sep 16, 2019
1 parent 7acb07a commit b7cae3e
Show file tree
Hide file tree
Showing 38 changed files with 242 additions and 179 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v1.2.7
## 16-09-2019

1. [](#improved)
* Updated TinyMCE to 4.9.6
2. [](#bugfix)
* Fixed the handling of fields with `validate.required` set to true

# v1.2.6
## 22-02-2019

Expand Down
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Contributing

This document is not intended to significantly alter the methods through which You, the contributor, help out the project. It is sincerely believed that the ways through which You contribute are most likely the right ways, and that establishing a formal process for that could deteriorate the insight that Your contributions give.

Because of that, this document will only make clear the norms around contributing to the project, as follows:

* **By the term "contributing", we understand any actions undertaken with the intent to make the project better...**
* **...and by the term "contributing to the project's repository", we understand a pull request.** It's that simple!
* **By contributing to the project's repository, You forfeit any individual claims to the work contributed.** In other words, the repository in the state right after Your contribution must stay the sole property of the original copyright holders, forever licensed to You under the terms specified at the time of Your contribution. No contributions that attempt to change the copyright holders will be accepted, as this presents a risk that the contributors may later want to revoke their license.
* **When contributing to the project's repository, please contribute to the `develop` branch.** The other branches are there either for focused development, or for full-fledged releases.
* **When contributing to the project's repository, please try to ensure that the contribution is going to benefit many of the project's users, and hurt no one.** Breaking compatibility is usually a problem. When in doubt, however, contribute!
* Last but not least, **please assume good faith on part of the person reviewing Your contribution.** If they happen to say "no", there is probably a solid reason behind that decision. They are not here to make Your life miserable, and if it seems so, it's probably just a minor personality clash. The person reviewing Your contribution will do their best to abide by this as well.

Thank You for taking the time to read this document and contribute.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# TinyMCE Editor Integration
![Screenshot](assets/tinymce-editor.png)
The **TinyMCE Editor Integration** is a state-of-the-art plugin, integrating the enterprise-grade [TinyMCE](https://www.tinymce.com/) WYSIWYG HTML Editor with the modern CMS [Grav](https://getgrav.org/) is.
The **TinyMCE Editor Integration** is a state-of-the-art plugin, integrating the enterprise-grade [TinyMCE](https://www.tinymce.com/) WYSIWYG HTML editor with the modern CMS [Grav](https://getgrav.org/) is.

Blabbing aside, this is the plugin that you should use when you're tired of, scared of, or otherwise not comfortable using Markdown to author your pages from within the [Grav Admin Plugin](https://github.com/getgrav/grav-plugin-admin). It's vastly configurable, so you should have no issues adapting it to your liking, and its default configuration has been made with consistency and ease of use in mind, significantly reducing the chance that you have to change anything at all.
## Installation
There are two methods of installing the TinyMCE Editor Integration plugin, each of them available with the use of the admin plugin or manually.
### Installation with the use of the Grav Package Manager
The simplest way to install this plugin is via the **Grav Package Manager (GPM)**. It can be used from within the admin plugin under **Plugins** > **Add**, or as a standalone executable accessible through your system's terminal (also called the command line).
The simplest way to install this plugin is via the **Grav Package Manager (GPM)**. It can be used from within the admin plugin, or as a standalone executable accessible through your system's terminal (also called the command line).
>#### Installation with the use of the admin plugin (Recommended)
>In the admin plugin, go to **Plugins** > **Add** and enter the plugin's name there. When it is found, click the Install button next to it.
>#### Installation with the use of a terminal
Expand All @@ -19,7 +19,7 @@ Either of these will install the TinyMCE Editor Integration plugin into your `/u
### Manual installation
You may also decide that you want to install the plugin manually, which may prove very useful if you want to use the latest, unreleased features of the plugin.
>#### Manual installation with the use of the admin plugin
>In the admin plugin, go to **Tools**, and paste the following into the textbox under **Install a zip package from a remote location**:
>In the admin plugin, under **Configuration** > **System** > **Advanced** make sure that non-GPM direct installs are allowed, then go to **Tools** > **Direct install**, and paste the following into the textbox under **Install Package via Remote URL Reference**:
>```
>https://github.com/newbthenewbd/grav-plugin-tinymce-editor/archive/develop.zip
>```
Expand Down Expand Up @@ -100,17 +100,17 @@ statusbar: true # If enabled, a status bar will be present at the bottom of the
```
When more customization is desired than the above options allow, you may create a directory called `tinymce-editor` in `/user/data`, and copy a subset of `/user/plugins/tinymce-editor` in there. The changes to the contents of that directory will be reflected in the plugin's behavior, and they will not be affected by updates. Currently supported subsets are the directories `blueprints`, `css`, `js/tinymce` and `templates`, and their entire contents should, when needed, be copied to `/user/data/tinymce-editor/blueprints`, `/user/data/tinymce-editor/css`, `/user/data/tinymce-editor/js/tinymce` and `/user/data/tinymce-editor/templates`, respectively.
## Usage
**NOTE:** It is recommended to disable the Markdown parser in `/user/config/system.yaml` or under **Configuration** > **System** in the admin plugin to lower the resource usage once this plugin has been installed.
**NOTE:** It is recommended to disable Markdown processing in `/user/config/system.yaml` or under **Configuration** > **System** > **Content** in the admin plugin to lower the resource usage once this plugin has been installed.

The plugin itself is ready to be used out of the box, set up with a sensible default configuration. It will replace all the Markdown page editor fields in the admin plugin with TinyMCE.
## Credits
Many thanks to everyone involved in the creation of [TinyMCE](https://github.com/tinymce/tinymce), the only FOSS HTML WYSIWYG editor that can actually do just what is expected of it with a little configuration. It is located under `/tinymce-editor/js/tinymce`, with all the languages available for it at the time of the latest integration plugin release installed under `/tinymce-editor/js/tinymce/langs`.
Many thanks to everyone involved in the creation of [TinyMCE](https://github.com/tinymce/tinymce), the only FOSS WYSIWYG HTML editor that can actually do just what is expected of it with a little configuration.

Huge thanks to the [Grav Slack Chat community](https://getgrav.org/slack) for providing help with Grav whenever possible, and to those involved in the creation of Grav, a CMS with an actually beautiful architecture.
Huge thanks to the [Grav Chat community](https://getgrav.org/discord) for providing help with Grav whenever possible, and to those involved in the creation of Grav, a CMS with an actually beautiful architecture.

Thanks to those the plugin was originally made for – my family with their websites – and to those others who may now use it as well.

Last but not least, ~free tanks~ many thanks to [the very important person hiding behind this noble nickname on GitHub](https://github.com/Buttpants) for ~keeping sanity~ staying understanding while I've been unresponsive ~wasting a huge amount of time~ creating this plugin.
Last but not least, ~three tanks~ many thanks to [the very important person hiding behind this noble nickname on GitHub](https://github.com/Buttpants) for ~keeping sanity~ staying understanding while I've been unresponsive ~wasting a huge amount of time~ creating this plugin.
## To Do
- [ ] Add more translations to languages.yaml
- [x] ???
Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: TinyMCE Editor Integration
version: 1.2.6
version: 1.2.7
description: This is _the_ TinyMCE integration plugin for those not chosen to love Markdown over all comfort.
icon: edit
author:
Expand Down
6 changes: 3 additions & 3 deletions js/tinymce/langs/bg_BG.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ tinymce.addI18n('bg_BG',{
"Source code": "\u0418\u0437\u0445\u043e\u0434\u0435\u043d \u043a\u043e\u0434 \u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0432 HTML",
"Insert\/Edit code sample": "\u0412\u043c\u044a\u043a\u043d\u0438\/ \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0439 \u043f\u0440\u0438\u043c\u0435\u0440\u0435\u043d \u043a\u043e\u0434",
"Language": "\u0415\u0437\u0438\u043a",
"Code sample": "Code sample",
"Code sample": "\u041f\u0440\u0438\u043c\u0435\u0440\u0435\u043d \u043a\u043e\u0434",
"Color": "\u0426\u0432\u044f\u0442",
"R": "R",
"G": "G",
Expand Down Expand Up @@ -248,14 +248,14 @@ tinymce.addI18n('bg_BG',{
"Show blocks": "\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u0431\u043b\u043e\u043a\u043e\u0432\u0435\u0442\u0435",
"Show invisible characters": "\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u043d\u0435\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u043c\u0438 \u0437\u043d\u0430\u0446\u0438",
"Words: {0}": "\u0411\u0440\u043e\u0439 \u0434\u0443\u043c\u0438: {0}",
"{0} words": "{0} words",
"{0} words": "{0} \u0431\u0440\u043e\u0439 \u0434\u0443\u043c\u0438",
"File": "\u0424\u0430\u0439\u043b",
"Edit": "\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043d\u0435",
"Insert": "\u0412\u043c\u044a\u043a\u0432\u0430\u043d\u0435",
"View": "\u0418\u0437\u0433\u043b\u0435\u0434",
"Format": "\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0430\u043d\u0435",
"Table": "\u0422\u0430\u0431\u043b\u0438\u0446\u0430",
"Tools": "\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438",
"Powered by {0}": "Powered by {0}",
"Powered by {0}": "\u0421\u044a\u0437\u0434\u0430\u0434\u0435\u043d\u043e \u0441 {0}",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u041f\u043e\u043b\u0435 \u0437\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0430\u043d \u0442\u0435\u043a\u0441\u0442. \u041d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 Alt+F9 \u0437\u0430 \u043c\u0435\u043d\u044e; Alt+F10 \u0437\u0430 \u043b\u0435\u043d\u0442\u0430 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438; Alt+0 \u0437\u0430 \u043f\u043e\u043c\u043e\u0449."
});
16 changes: 8 additions & 8 deletions js/tinymce/langs/bn_BD.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ tinymce.addI18n('bn_BD',{
"Align left": "\u09ac\u09be\u09ae\u09c7 \u09b8\u09be\u09b0\u09bf\u0995\u09b0\u09a3",
"Align center": "\u09ae\u09a7\u09cd\u09af\u09b8\u09cd\u09a5\u09be\u09a8\u09c7 \u09b8\u09be\u09b0\u09bf\u0995\u09b0\u09a3",
"Align right": "\u09a1\u09be\u09a8\u09c7 \u09b8\u09be\u09b0\u09bf\u0995\u09b0\u09a3",
"Justify": "\u09b8\u09ae\u09be\u09a8",
"Justify": "\u0989\u09ad\u09af\u09bc\u09aa\u09cd\u09b0\u09be\u09a8\u09cd\u09a4\u09c7 \u09b8\u09ae\u09be\u09a8 \u0995\u09b0\u09c1\u09a8",
"Bullet list": "\u09ac\u09c1\u09b2\u09c7\u099f \u09a4\u09be\u09b2\u09bf\u0995\u09be",
"Numbered list": "\u09b8\u0982\u0996\u09cd\u09af\u09be\u09af\u09c1\u0995\u09cd\u09a4 \u09a4\u09be\u09b2\u09bf\u0995\u09be",
"Decrease indent": "\u09ae\u09be\u09b0\u09cd\u099c\u09bf\u09a8 \u0995\u09ae\u09be\u09a8",
"Increase indent": "\u09ae\u09be\u09b0\u09cd\u099c\u09bf\u09a8 \u09ac\u09be\u09a1\u09bc\u09be\u09a8",
"Decrease indent": "\u0987\u09a8\u09cd\u09a1\u09c7\u09a8\u09cd\u099f \u0995\u09ae\u09be\u09a8",
"Increase indent": "\u0987\u09a8\u09cd\u09a1\u09c7\u09a8\u09cd\u099f \u09ac\u09be\u09a1\u09bc\u09be\u09a8",
"Close": "\u09ac\u09a8\u09cd\u09a7",
"Formats": "\u09ac\u09bf\u09a8\u09cd\u09af\u09be\u09b8",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u0986\u09aa\u09a8\u09be\u09b0 \u09ac\u09cd\u09b0\u09be\u0989\u099c\u09be\u09b0 \u0995\u09cd\u09b2\u09bf\u09aa\u09ac\u09cb\u09b0\u09cd\u09a1 \u09a5\u09c7\u0995\u09c7 \u09b8\u09b0\u09be\u09b8\u09b0\u09bf \u09aa\u09cd\u09b0\u09ac\u09c7\u09b6\u09be\u09a7\u09bf\u0995\u09be\u09b0 \u09b8\u09ae\u09b0\u09cd\u09a5\u09a8 \u0995\u09b0\u09c7 \u09a8\u09be\u0964 \u0985\u09a8\u09c1\u0997\u09cd\u09b0\u09b9 \u0995\u09b0\u09c7 \u0995\u09c0\u09ac\u09cb\u09b0\u09cd\u09a1 \u09b6\u09b0\u09cd\u099f\u0995\u09be\u099f Ctrl +X\/C\/V \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c1\u09a8\u0964",
Expand Down Expand Up @@ -78,7 +78,7 @@ tinymce.addI18n('bn_BD',{
"Source code": "\u09b8\u09cb\u09b0\u09cd\u09b8 \u0995\u09cb\u09a1",
"Insert\/Edit code sample": "\u0995\u09cb\u09a1 \u09a8\u09ae\u09c1\u09a8\u09be \u09a2\u09cb\u0995\u09be\u09a8 \/ \u09b8\u09ae\u09cd\u09aa\u09be\u09a6\u09a8\u09be \u0995\u09b0\u09c1\u09a8",
"Language": "\u09ad\u09be\u09b7\u09be",
"Code sample": "Code sample",
"Code sample": "\u09a8\u09ae\u09c1\u09a8\u09be \u0995\u09cb\u09a1",
"Color": "\u09b0\u0999",
"R": "R",
"G": "G",
Expand Down Expand Up @@ -109,8 +109,8 @@ tinymce.addI18n('bn_BD',{
"Premium plugins:": "\u09aa\u09cd\u09b0\u09bf\u09ae\u09bf\u09af\u09bc\u09be\u09ae \u09aa\u09cd\u09b2\u09be\u0997\u0987\u09a8:",
"Learn more...": "\u0986\u09b0\u0993 \u099c\u09be\u09a8\u09c1\u09a8...",
"You are using {0}": "\u0986\u09aa\u09a8\u09bf \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u099b\u09c7\u09a8 {0}",
"Plugins": "Plugins",
"Handy Shortcuts": "Handy Shortcuts",
"Plugins": "\u09aa\u09cd\u09b2\u09be\u0997\u0987\u09a8",
"Handy Shortcuts": "\u09b8\u09b9\u099c \u09b6\u09b0\u09cd\u099f\u0995\u09be\u099f ",
"Horizontal line": "\u0985\u09a8\u09c1\u09ad\u09c2\u09ae\u09bf\u0995 \u09b0\u09c7\u0996\u09be",
"Insert\/edit image": "\u0987\u09ae\u09c7\u099c \u09b8\u09a8\u09cd\u09a8\u09bf\u09ac\u09c7\u09b6 \/ \u09b8\u09ae\u09cd\u09aa\u09be\u09a6\u09a8\u09be \u0995\u09b0\u09c1\u09a8",
"Image description": "\u099b\u09ac\u09bf\u09b0 \u09ac\u09b0\u09cd\u09a3\u09a8\u09be",
Expand Down Expand Up @@ -248,14 +248,14 @@ tinymce.addI18n('bn_BD',{
"Show blocks": "\u09ac\u09cd\u09b2\u0995 \u09a6\u09c7\u0996\u09be\u09a8",
"Show invisible characters": "\u0985\u09a6\u09c3\u09b6\u09cd\u09af \u0985\u0995\u09cd\u09b7\u09b0 \u09a6\u09c7\u0996\u09be\u09a8",
"Words: {0}": "\u09b6\u09ac\u09cd\u09a6: {0}",
"{0} words": "{0} words",
"{0} words": "{0} \u09b6\u09ac\u09cd\u09a6",
"File": "\u09ab\u09be\u0987\u09b2",
"Edit": "\u09b8\u09ae\u09cd\u09aa\u09be\u09a6\u09a8 \u0995\u09b0\u09be",
"Insert": "\u09b8\u09a8\u09cd\u09a8\u09bf\u09ac\u09c7\u09b6",
"View": "\u09a6\u09c3\u09b6\u09cd\u09af",
"Format": "\u09ac\u09bf\u09a8\u09cd\u09af\u09be\u09b8",
"Table": "\u099f\u09c7\u09ac\u09bf\u09b2",
"Tools": "\u09b8\u09b0\u099e\u09cd\u099c\u09be\u09ae\u09b8\u09ae\u09c2\u09b9",
"Powered by {0}": "Powered by {0}",
"Powered by {0}": "{0} \u09a6\u09cd\u09ac\u09be\u09b0\u09be \u099a\u09be\u09b2\u09bf\u09a4",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u09b0\u09bf\u099a \u099f\u09c7\u0995\u09cd\u09b8\u099f \u098f\u09b0\u09bf\u09af\u09bc\u09be \u09ae\u09c7\u09a8\u09c1 \u099c\u09a8\u09cd\u09af ALT-F9 \u099a\u09be\u09aa\u09c1\u09a8 \u099f\u09c1\u09b2\u09ac\u09be\u09b0\u09c7\u09b0 \u099c\u09a8\u09cd\u09af ALT-F10 \u099f\u09bf\u09aa\u09c1\u09a8 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7\u09b0 \u099c\u09a8\u09cd\u09af ALT-0 \u099a\u09be\u09aa\u09c1\u09a8"
});
Loading

0 comments on commit b7cae3e

Please sign in to comment.