This commit is contained in:
troy grunt
2020-12-29 13:17:55 +01:00
4 changed files with 16 additions and 2 deletions

View File

@@ -149,8 +149,12 @@ git submodule add https://git.seemsleg.it/ef/cssjs-func-lib cssjs
image: { image: {
toolbar: [ toolbar: [
'imageTextAlternative', 'imageTextAlternative',
'|',
'imageStyle:full', 'imageStyle:full',
'imageStyle:side' 'imageStyle:side',
'imageStyle:alignLeft', 'imageStyle:alignCenter', 'imageStyle:alignRight',
'|',
'imageResize',
] ]
}, },
table: { table: {
@@ -182,3 +186,9 @@ git submodule add https://git.seemsleg.it/ef/cssjs-func-lib cssjs
} ); } );
</script> </script>
``` ```
## mailto
```
<span class="mailto">mail@<span style="display:none;">no-thx-</span>server.de</span
<script src="/cssjs/mailto.js"></script>
```

2
ckeditor.js vendored

File diff suppressed because one or more lines are too long

1
ckeditor.js.map Normal file

File diff suppressed because one or more lines are too long

3
mailto.js Normal file
View File

@@ -0,0 +1,3 @@
mail = $('span.mailto').html();
mail = mail.replace('<span style="display:none;">no-thx-</span>','');
$('span.mailto').html('<a href="mailto:'+mail+'">'+ mail +'</a>');