Commits

Luke Plant  committed 227b56d

Enabled placeholder widget bridge for semantic editor.

  • Participants
  • Parent commits 924d336

Comments (0)

Files changed (1)

File semanticeditor/templates/semanticeditor/editorwidget.html

                 preview_url: "{% url semantic.preview %}"
             };
             wym.semantic(symanticopts);
+
+            // Enable the placeholderbridge plugin, to allow
+            // the placeholder controls to talk to editor
+            wym.placeholderbridge({'name': '{{ name }}'});
         },
         //handle click event on dialog's submit button
         postInitDialog: function( wym, wdw ) {