diff -r 40e26009689c -r c925ae656709 ckeditor/plugins/crossreference/README.md --- a/ckeditor/plugins/crossreference/README.md Sat Dec 17 03:31:51 2016 +0300 +++ b/ckeditor/plugins/crossreference/README.md Wed Dec 21 17:20:19 2016 +0300 @@ -5,7 +5,26 @@ ## Online demo -Try the plugin demo at . +Try the plugin demo at . + +## CKEditor plugin page + +http://ckeditor.com/addon/crossreference + +## Requirements + +CrossReference Plugin require CKEditor 4.5+ version and dependent from plugins: dialog, notification. + +## Installation + + 1. Download the plugin: https://github.com/indvd00m/crossreference/releases. + + 2. Extract (decompress) the downloaded file into the plugins folder of your + CKEditor installation. + Example: http://example.com/ckeditor/plugins/crossreference + + 3. Enable the plugin by using the extraPlugins configuration setting. + Example: CKEDITOR.config.extraPlugins = 'crossreference'; ## Description @@ -122,7 +141,7 @@ | --- | --- | --- | --- | | `activeTypes` | Which type of anchors would be activated. | Array | `['chapter', 'image', 'table', 'reference']` | | `overrideTypes` | If you define your own types, enabling this option lead to mixing of your types with types from default config which not yet defined in your config. | Boolean | false | -| `types` | Types definition. | Object | see [Default config](https://github.com/indvd00m/crossreference#default-config) section| +| `types` | Types definition. | Object | see [Example of type definition](https://github.com/indvd00m/crossreference#example-of-type-definition) section| ### Example of type definition @@ -150,7 +169,7 @@ | `anchorTextTemplate` | Template for anchor text. This text will be put in `a` tag. You can use variables in format `${variableName}`. Variables is a properties of an anchor object (see [Example of an anchor object](https://github.com/indvd00m/crossreference#example-of-an-anchor-object) section). | String | No | | `linkTextTemplate` | Template for link text. This text will be put in `a` tag. You can use variables in format `${variableName}`. Variables is a properties of an anchor object (see [Example of an anchor object](https://github.com/indvd00m/crossreference#example-of-an-anchor-object) section). | String | No | | `numeration` | Definition of type numeration. See [Example of a numeration definition](https://github.com/indvd00m/crossreference#example-of-a-numeration-definition) section. | Object | No | -| `anchorsProvider` | See [Example of type with anchors provider](https://github.com/indvd00m/crossreference#example-of-type-with-anchors-provider) section. | String 'default' or function | No | +| `anchorsProvider` | See [Example of type with anchors provider](https://github.com/indvd00m/crossreference#example-of-type-with-anchors-provider) section. | String `'default'` or function | No | | `allowCreateAnchors` | Can user create anchors of this type in anchors dialog. | Boolean | No | | `groupAnchors` | If `true`, anchors can be filtered by group in link dialog. | Boolean | No | @@ -231,21 +250,6 @@ | `editor` | Instance of ckeditor. | Object | -## Requirements - -CrossReference Plugin require CKEditor 4.5+ version and dependent from plugins: dialog, notification. - -## Installation - - 1. Download the plugin: https://github.com/indvd00m/crossreference/releases. - - 2. Extract (decompress) the downloaded file into the plugins folder of your - CKEditor installation. - Example: http://example.com/ckeditor/plugins/crossreference - - 3. Enable the plugin by using the extraPlugins configuration setting. - Example: CKEDITOR.config.extraPlugins = 'crossreference'; - ## Roadmap See https://github.com/indvd00m/crossreference/issues.