From d9a783a2378f0d7e0aff926a37b3ab626b0d18f6 Mon Sep 17 00:00:00 2001 From: Yair Even Or Date: Mon, 21 Sep 2020 11:54:03 +0200 Subject: [PATCH] - --- index.html | 9 +++++---- test/test.html | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 5d1f10c7..49996901 100644 --- a/index.html +++ b/index.html @@ -118,7 +118,8 @@ header.isSticky .repoLink{ height: 40px; - top: auto; + top: 2px; + transition: .55s cubic-bezier(.5,0,.5,1.075); } header.isSticky .repoLink svg{ filter: none; } @@ -129,7 +130,7 @@ top: -2px; right: 50%; transform: translateX(50%); - transition: .55s cubic-bezier(.5,0,.5,1.075); + transition: .2s ease-out; } .repoLink svg{ filter: drop-shadow(0px 4px 0px white) @@ -478,10 +479,10 @@

Basic example

Passing the input element as a parameter to Tagify will transform it into a tags-component. Without any settings, the user will be allowed to create any tags they want, without a count limit.

- The input has a pre-defined value which Tagify creates two from tags. + If the input element has a pre-defined value attribute, tags will be created from it.

- (Double-click on a tag to edit it) + (Try Double-clicking a tag to edit it)

diff --git a/test/test.html b/test/test.html index 830ab0a4..736979a5 100644 --- a/test/test.html +++ b/test/test.html @@ -160,8 +160,8 @@

Please select from the list:

window.tagified = { "mix" : 0, - "markdown" : 1, - "basic" : 0, + "markdown" : 0, + "basic" : 1, "textarea" : 0, "manual-suggestions": 0, "outside-of-the-box": 0, @@ -251,7 +251,7 @@

Please select from the list:

// init Tagify script on the above inputs var tagify = new Tagify(input, { - pattern: /^[A-Za-z_✲ "]+$/, + pattern: /^[0-9A-Za-z_✲ "]+$/, editTags : 1, duplicates: false, keepInvalidTags: true