fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: remove unused code
[fnpeditor.git]
/
src
/
editor
/
plugins
/
core
/
canvasElements.js
diff --git
a/src/editor/plugins/core/canvasElements.js
b/src/editor/plugins/core/canvasElements.js
index
addaeae
..
229cd47
100644
(file)
--- a/
src/editor/plugins/core/canvasElements.js
+++ b/
src/editor/plugins/core/canvasElements.js
@@
-1,9
+1,10
@@
define(function(require) {
'use strict';
define(function(require) {
'use strict';
-var $ = require('libs/jquery'),
- genericElement = require('modules/documentCanvas/canvas/genericElement'); // TODO: This should be accessible via plugin infrastructure
+var $ = require('libs/jquery'),
+ genericElement = require('modules/documentCanvas/canvas/genericElement'), // TODO: This should be accessible via plugin infrastructure
+ linkElement = require('./links/linkElement');
var widgets = {
footnoteHandler: function(clickHandler) {
var widgets = {
footnoteHandler: function(clickHandler) {
@@
-111,7
+112,8
@@
$.extend(footnote, {
return [
{tag: 'aside', klass: 'comment', prototype: comment},
return [
{tag: 'aside', klass: 'comment', prototype: comment},
- {tag: 'aside', klass: 'footnote', prototype: footnote}
+ {tag: 'aside', klass: 'footnote', prototype: footnote},
+ {tag: 'span', klass: 'link', prototype: linkElement}
];
];