mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix tinymce issue
Fix phpunit path issue
This commit is contained in:
parent
9c3b0cf9bf
commit
2fc3f80f1f
@ -72,4 +72,4 @@ after_success:
|
||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
|
||||
|
||||
after_failure:
|
||||
- if [[ $BEHAT_TEST ]]; then php ./framework/tests/behat/travis-upload-artifacts.php --if-env BEHAT_TEST,ARTIFACTS_BUCKET,ARTIFACTS_KEY,ARTIFACTS_SECRET --target-path $TRAVIS_REPO_SLUG/$TRAVIS_BUILD_ID/$TRAVIS_JOB_ID --artifacts-base-url https://s3.amazonaws.com/$ARTIFACTS_BUCKET/ --artifacts-path ./artifacts/; fi
|
||||
- if [[ $BEHAT_TEST ]]; then php ./vendor/silverstripe/framework/tests/behat/travis-upload-artifacts.php --if-env BEHAT_TEST,ARTIFACTS_BUCKET,ARTIFACTS_KEY,ARTIFACTS_SECRET --target-path $TRAVIS_REPO_SLUG/$TRAVIS_BUILD_ID/$TRAVIS_JOB_ID --artifacts-base-url https://s3.amazonaws.com/$ARTIFACTS_BUCKET/ --artifacts-path ./artifacts/; fi
|
||||
|
10
_config.php
10
_config.php
@ -16,10 +16,12 @@ call_user_func(function () {
|
||||
|
||||
// Enable insert-link to internal pages
|
||||
TinyMCEConfig::get('cms')
|
||||
->enablePlugins(array(
|
||||
'sslinkinternal' => $module->getResource('client/dist/js/TinyMCE_sslink-internal.js')->getURL(),
|
||||
'sslinkanchor' => $module->getResource('client/dist/js/TinyMCE_sslink-anchor.js')->getURL()
|
||||
));
|
||||
->enablePlugins([
|
||||
'sslinkinternal' => $module
|
||||
->getResource('client/dist/js/TinyMCE_sslink-internal.js'),
|
||||
'sslinkanchor' => $module
|
||||
->getResource('client/dist/js/TinyMCE_sslink-anchor.js'),
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user