Created
December 15, 2016 02:44
-
-
Save yuters/12c3f76d241ff4d99b40a8b41236f2e2 to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html> | |
<head> | |
<title>Test trix</title> | |
<script src="https://unpkg.com/vue/dist/vue.js"></script> | |
<link href="http://rawgit.com/basecamp/trix/master/dist/trix.css" rel="stylesheet"> | |
<script src="http://rawgit.com/basecamp/trix/master/dist/trix.js"></script> | |
</head> | |
<body> | |
<div id="app"> | |
<form action="" method="post"> | |
<trix-editor></trix-editor> | |
</form> | |
</div> | |
<script> | |
Vue.config.ignoredElements = ['trix-editor']; | |
var app = new Vue({ | |
el: '#app' | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment