-
Notifications
You must be signed in to change notification settings - Fork 9
Feature/wysiwyg editors #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
3a4f26d
cb8904a
4dbbdf2
67ea2b0
d2c81cd
9859e43
0d3d2a4
f035b54
32f68f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <?php | ||
| /** | ||
| * @link http://www.diemeisterei.de/ | ||
| * @copyright Copyright (c) 2018 diemeisterei GmbH, Stuttgart | ||
| * | ||
| * For the full copyright and license information, please view the LICENSE | ||
| * file that was distributed with this source code. | ||
| */ | ||
|
|
||
| namespace dmstr\jsoneditor; | ||
|
|
||
| use yii\web\AssetBundle; | ||
|
|
||
| class JoditAsset extends AssetBundle | ||
| { | ||
| public $sourcePath = '@dmstr/jsoneditor/assets/'; | ||
|
|
||
| public $js = [ | ||
| 'jodit/jodit.min.js', | ||
| ]; | ||
|
|
||
| public $css = [ | ||
| 'jodit/jodit.min.css' | ||
| ]; | ||
| } | ||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| <?php | ||
| /** | ||
| * @link http://www.diemeisterei.de/ | ||
| * @copyright Copyright (c) 2018 diemeisterei GmbH, Stuttgart | ||
| * | ||
| * For the full copyright and license information, please view the LICENSE | ||
| * file that was distributed with this source code. | ||
| */ | ||
|
|
||
| namespace dmstr\jsoneditor; | ||
|
|
||
| use yii\web\AssetBundle; | ||
| use yii\web\JqueryAsset; | ||
|
|
||
| class SceditorAsset extends AssetBundle | ||
| { | ||
| public $sourcePath = '@dmstr/jsoneditor/assets/sceditor/minified'; | ||
|
||
|
|
||
| public $js = [ | ||
| 'sceditor.min.js', | ||
| 'formats/xhtml.js', | ||
| ]; | ||
|
|
||
| public $css = [ | ||
| 'themes/default.min.css', | ||
| ]; | ||
|
|
||
| public $depends = [ | ||
| JqueryAsset::class | ||
| ]; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <?php | ||
| /** | ||
| * @link http://www.diemeisterei.de/ | ||
| * @copyright Copyright (c) 2018 diemeisterei GmbH, Stuttgart | ||
| * | ||
| * For the full copyright and license information, please view the LICENSE | ||
| * file that was distributed with this source code. | ||
| */ | ||
|
|
||
| namespace dmstr\jsoneditor; | ||
|
|
||
| use yii\web\AssetBundle; | ||
|
|
||
| class SimpleMDEAsset extends AssetBundle | ||
| { | ||
| public $sourcePath = '@dmstr/jsoneditor/assets/simplemde'; | ||
|
|
||
| public $js = [ | ||
| 'simplemde.min.js', | ||
| ]; | ||
|
|
||
| public $css = [ | ||
| 'simplemde.min.css' | ||
| ]; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Jodit version 4.0.1 |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use @dmstr/jsoneditor/assets/jodit here to prevent publishing unwanted files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or why do we not use the files in
/assets/jodit