Skip to content

Instantly share code, notes, and snippets.

@yuters
Created December 15, 2016 02:44
Show Gist options
  • Save yuters/12c3f76d241ff4d99b40a8b41236f2e2 to your computer and use it in GitHub Desktop.
Save yuters/12c3f76d241ff4d99b40a8b41236f2e2 to your computer and use it in GitHub Desktop.
<!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