Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or committed Sep 21, 2020
1 parent f694de6 commit d9a783a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -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)
Expand Down Expand Up @@ -478,10 +479,10 @@ <h2><a href='#section-basic'>Basic example</a></h2>
Passing the input element as a parameter to <em>Tagify</em> 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.
</p>
<p>
The input has a pre-defined value which Tagify creates two from tags.
If the input element has a pre-defined <code>value</code> attribute, tags will be created from it.
</p>
<p>
(<strong><em>Double-click</em> on a tag to edit it</strong>)
(<strong>Try <em>Double-clicking</em> a tag to edit it</strong>)
</p>
<details>
<summary></summary>
Expand Down
6 changes: 3 additions & 3 deletions test/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ <h3>Please select from the list:</h3>

window.tagified = {
"mix" : 0,
"markdown" : 1,
"basic" : 0,
"markdown" : 0,
"basic" : 1,
"textarea" : 0,
"manual-suggestions": 0,
"outside-of-the-box": 0,
Expand Down Expand Up @@ -251,7 +251,7 @@ <h3>Please select from the list:</h3>

// 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
Expand Down

0 comments on commit d9a783a

Please sign in to comment.