Hi All,
I am try create Polymer element that use : https://alex-d.github.io/Trumbowyg/
I did this:
<link rel="import" href="../bower_components/polymer/polymer.html">
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="../trumbowyg/dist/trumbowyg.min.js"></script>
<dom-module id="drtv-editor">
<template>
<link rel="stylesheet" href="../trumbowyg/dist/ui/trumbowyg.min.css">
<style>
/* CSS rules for your element */
</style>
<div id="editor">fgdfgfdgfd</div> <!-- data bindings in local DOM -->
</template>
<script>
Polymer({
is: 'drtv-editor',
ready: function() {
$(this.$.editor).trumbowyg();
}
});
</script>
</dom-module>
But when I try use it I get this:
I get a lot of error, and render do not work!
Any idea?
Thanks