-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b421828
Showing
56 changed files
with
24,420 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# A set of files you probably don't want in your WordPress.org distribution | ||
.distignore | ||
.editorconfig | ||
.git | ||
.gitignore | ||
.gitlab-ci.yml | ||
.travis.yml | ||
.DS_Store | ||
.browserslistrc | ||
.eslintrc.json | ||
.eslintignore | ||
.npmrc | ||
.nvmrc | ||
.stylelintrc | ||
.husky | ||
babel.config.js | ||
Thumbs.db | ||
behat.yml | ||
bin | ||
circle.yml | ||
composer.json | ||
composer.lock | ||
Gruntfile.js | ||
package.json | ||
package-lock.json | ||
phpunit.xml | ||
phpunit.xml.dist | ||
multisite.xml | ||
multisite.xml.dist | ||
phpcs.ruleset.xml | ||
phpcs.xml | ||
README.md | ||
wp-cli.local.yml | ||
tests | ||
node_modules | ||
*.zip | ||
*.tar.gz | ||
tests | ||
config | ||
postcss.config.js | ||
yarn.lock | ||
.wordpress-org | ||
.github | ||
LICENSE.md | ||
docs-built | ||
.husky | ||
.lintstagedrc.json | ||
lerna.json | ||
hookdoc-conf.json | ||
dist/js/*.LICENSE.txt | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[{*.json,*.yml,.babelrc,.bowerrc,.browserslistrc,.postcssrc}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.txt,wp-config-sample.php] | ||
end_of_line = crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
assets/js/vendor | ||
assets/js/admin/vendor | ||
assets/js/frontend/vendor | ||
assets/js/shared/vendor | ||
webpack.config.babel.js | ||
tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"rules": {}, | ||
"globals": { | ||
"module": true, | ||
"process": true, | ||
"jquery": true, | ||
"wp": true, | ||
"ajaxurl": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": "latest" | ||
}, | ||
"env": { | ||
"es6": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
node_modules | ||
bower_components | ||
release | ||
vendor | ||
.idea | ||
*.log | ||
|
||
# Project Files | ||
|
||
|
||
# Editors | ||
*.esproj | ||
*.tmproj | ||
*.tmproject | ||
tmtags | ||
.*.sw[a-z] | ||
*.un~ | ||
Session.vim | ||
*.swp | ||
|
||
# Mac OSX | ||
.DS_Store | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Windows | ||
Thumbs.db | ||
Desktop.ini | ||
*.js.map | ||
*.css.map |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Easy Text-to-Speech | ||
============= | ||
|
||
Easy Text-to-Speech is a powerful, user-friendly WordPress plugin designed to transform your textual content into high-quality synthesized speech. | ||
|
||
Documentation: [https://handyplugins.co/easy-text-to-speech/docs/](https://handyplugins.co/easy-text-to-speech/docs/) | ||
|
||
## Setup | ||
|
||
1. Upload the entire `/easy-text-to-speech` directory to the `/wp-content/plugins/` directory. | ||
2. Activate Easy Text to Speech through the 'Plugins' menu in WordPress. | ||
3. Enjoy! | ||
|
||
## Credits | ||
|
||
We have used code or ideas from the following projects: | ||
|
||
* [10up Toolkit](https://github.com/10up/10up-toolkit) for building tools. | ||
* [Shared UI](https://github.com/wpmudev/shared-ui) for admin UI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* EasyTTS - Admin Styles | ||
*/ | ||
@import url("@wpmudev/shared-ui/dist/css/shared-ui.css"); | ||
|
||
.sui-modal{ | ||
z-index:9999!important; | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* global jQuery */ | ||
import '../../css/admin/admin-style.css'; | ||
import '@wpmudev/shared-ui/dist/js/_src/modal-dialog'; | ||
import {noticeTemplate} from './utils'; | ||
|
||
(function ($) { | ||
|
||
$('input[name="tts_provider"]').on('change', function () { | ||
$('.tts-provider-settings').hide(); | ||
$('#' + $(this).val() + '-details').show(); | ||
}); | ||
|
||
$('#aws_polly_region').on('change',function(e){ | ||
e.preventDefault(); | ||
populate_voice_selection(); | ||
}); | ||
|
||
$('.aws_polly_engine').on('change',function(e){ | ||
e.preventDefault(); | ||
populate_voice_selection(); | ||
}); | ||
|
||
function populate_voice_selection(){ | ||
const $errContainer = $('#aws_polly_default_voice_desc'); | ||
|
||
$.post( | ||
ajaxurl, | ||
{ | ||
beforeSend() { | ||
jQuery('#aws_polly_default_voice').attr('disabled', 'disabled'); | ||
$errContainer.html(''); | ||
}, | ||
action: 'easytts_voice_list', | ||
nonce : EasyTTSAdmin.nonce, | ||
data: $('#easytts_settings_form').serialize() | ||
}, | ||
function (response) { | ||
if(response.success){ | ||
$('#aws_polly_default_voice').html(response.data.html); | ||
}else{ | ||
const err = noticeTemplate(response.data.message, 'error'); | ||
$errContainer.html(err); | ||
} | ||
}, | ||
).done(function () { | ||
jQuery('#aws_polly_default_voice').attr('disabled', false); | ||
}); | ||
} | ||
|
||
|
||
|
||
})(jQuery); |
Oops, something went wrong.