Skip to content

Commit

Permalink
cleanup tinymce plugins
Browse files Browse the repository at this point in the history
added nonbreaking support
  • Loading branch information
janatjak committed Feb 7, 2017
1 parent 3bc2041 commit f81ff80
Show file tree
Hide file tree
Showing 59 changed files with 14 additions and 338 deletions.
13 changes: 6 additions & 7 deletions client-side/dist/inline.js
Expand Up @@ -5,16 +5,17 @@ var Inline = (function () {
this.btns = {};
this.editableConfigs = {
'headings': {
selector: 'h1.inline-editable,' + 'h2.inline-editable,' + 'h3.inline-editable,' + 'h4.inline-editable,' + 'h5.inline-editable,' + 'h6.inline-editable'
selector: 'h1.inline-editable, h2.inline-editable, h3.inline-editable, h4.inline-editable, h5.inline-editable, h6.inline-editable',
toolbar: 'italic strikethrough | nonbreaking | undo redo',
},
'inlines': {
selector: 'span.inline-editable, strong.inline-editable, a.inline-editable',
forced_root_block: '',
toolbar: 'bold italic strikethrough | link | undo redo'
toolbar: 'bold italic strikethrough | nonbreaking | link | undo redo'
},
'blocks': {
selector: 'div.inline-editable',
toolbar: 'bold italic strikethrough | h2 h3 | fontsizeselect | styleselect bullist numlist indent outdent link image | undo redo',
toolbar: 'bold italic strikethrough | nonbreaking | fontsizeselect | styleselect bullist numlist link image | undo redo',
style_formats: [
{
title: 'Nadpisy',
Expand All @@ -29,8 +30,7 @@ var Inline = (function () {
},
{ title: 'Horní index', icon: 'superscript', format: 'superscript' },
{ title: 'Dolní index', icon: 'subscript', format: 'subscript' },
{
title: 'Zarovnání', icon: 'alignleft', items: [
{ title: 'Zarovnání', icon: 'alignleft', items: [
{ title: 'Doleva', icon: 'alignleft', format: 'alignleft' },
{ title: 'Na střed', icon: 'aligncenter', format: 'aligncenter' },
{ title: 'Doprava', icon: 'alignright', format: 'alignright' },
Expand Down Expand Up @@ -100,9 +100,8 @@ var Inline = (function () {
entity_encoding: 'raw',
inline: true,
menubar: false,
toolbar: 'italic strikethrough forecolor | undo redo',
language: 'cs',
plugins: 'paste link image colorpicker textcolor',
plugins: 'paste link image lists nonbreaking',
paste_as_text: true,
theme: 'modern',
setup: function (editor) {
Expand Down
1 change: 0 additions & 1 deletion client-side/dist/tinymce/plugins/anchor/plugin.min.js

This file was deleted.

1 change: 0 additions & 1 deletion client-side/dist/tinymce/plugins/autolink/plugin.min.js

This file was deleted.

1 change: 0 additions & 1 deletion client-side/dist/tinymce/plugins/autoresize/plugin.min.js

This file was deleted.

1 change: 0 additions & 1 deletion client-side/dist/tinymce/plugins/autosave/plugin.min.js

This file was deleted.

1 change: 0 additions & 1 deletion client-side/dist/tinymce/plugins/bbcode/plugin.min.js

This file was deleted.

0 comments on commit f81ff80

Please sign in to comment.