diff --git a/index.html b/index.html index d45b7f5..fadf0b5 100644 --- a/index.html +++ b/index.html @@ -77,12 +77,15 @@

Enjoy live editing (+markdown)


To link or unlink, please press the ENTER key after you filled the input field with your a link. A link can be unlink by applying an empty value to the input field. +

+

+
You can quote text by type「>」at line start.

What about add underline to text? "Stay Hungry, Stay Foolish - Steve Jobs".

A code block is also supported by type 「```」 at line start and press SPACE.
@@ -91,7 +94,7 @@

Enjoy live editing (+markdown)

Fork me on GitHub + src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /> diff --git a/src/pen.js b/src/pen.js index 5e8022e..806d86b 100644 --- a/src/pen.js +++ b/src/pen.js @@ -150,7 +150,7 @@ var klass = 'pen-icon icon-' + name; icons += ''; }, true); - if (toolList.indexOf('createlink') >= 0 || toolList.indexOf('createlink') >= 0) + if (toolList.indexOf('createlink') >= 0) icons += inputStr; } else if (ctx._toolbar.querySelectorAll('[data-action=createlink]').length || ctx._toolbar.querySelectorAll('[data-action=insertimage]').length) {