Skip to content

Commit

Permalink
Merge pull request #10 from shreypasari-accolite/v.3
Browse files Browse the repository at this point in the history
V.3
  • Loading branch information
dheerajaccolite committed Apr 23, 2019
2 parents 7ab6216 + 71df745 commit f5b647d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npm install vue-froala-wysiwyg --save
...

// Require Froala Editor js file.
require('froala-editor/js/froala_editor.pkgd.min.js')
require('froala-editor/js/froala_editor.pkgd.legacy.min.js')

// Require Froala Editor css files.
require('froala-editor/css/froala_editor.pkgd.min.css')
Expand Down
4 changes: 2 additions & 2 deletions build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
extensions: ['.js', '.vue'],
alias: {
'src': path.resolve(__dirname, '../src'),
FroalaEditor:'froala_editor.pkgd.min.js'
FroalaEditor:'froala_editor.pkgd.legacy.min.js'
},
modules: [path.join(__dirname, '../node_modules'),path.join(__dirname,'../node_modules/froala-editor/js')],
},
Expand Down Expand Up @@ -61,7 +61,7 @@ module.exports = {
},
plugins: [
new webpack.ProvidePlugin({
FroalaEditor: 'froala_editor.pkgd.min.js'
FroalaEditor: 'froala_editor.pkgd.legacy.min.js'
}),
// make sure to include the plugin!
new VueLoaderPlugin()
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Vue from 'vue'
import App from './examples/App'

// supports both of Vue 1.0 and Vue 2.0
require('froala-editor/js/froala_editor.pkgd.min');
require('froala-editor/js/froala_editor.pkgd.legacy.min');
require("froala-editor/css/froala_editor.pkgd.min.css");
require('froala-editor/css/froala_style.min.css');
require('font-awesome/css/font-awesome.css');
Expand Down

0 comments on commit f5b647d

Please sign in to comment.