Skip to content

Commit 7527281

Browse files
committed
Added 'lineheight' option to text editor
1 parent ee37d4a commit 7527281

File tree

13 files changed

+160
-0
lines changed

13 files changed

+160
-0
lines changed

resources/ckeditor/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ CKEDITOR.editorConfig = function( config ) {
3737
config.removeDialogTabs = 'image:advanced;link:advanced';
3838

3939
config.extraPlugins = 'justify';
40+
config.extraPlugins = 'lineheight';
4041
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Kamlesh Kushwaha
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# lineheight
2+
Ckeditor lineheight plugin repository
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','{LANGUAGE_CODE}', {
2+
title: '{LINE-HEIGHT}'
3+
} );
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','ar', {
2+
title: 'خط الطول'
3+
} );
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','de', {
2+
title: 'Zeilenhöhe'
3+
} );
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','en', {
2+
title: 'Line Height'
3+
} );
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','es', {
2+
title: 'Altura de Línea'
3+
} );
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','fr', {
2+
title: 'Hauteur de Ligne'
3+
} );
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CKEDITOR.plugins.setLang('lineheight','ko', {
2+
title: '줄 높이'
3+
} );

0 commit comments

Comments
 (0)