Граф коммитов

230 Коммитов

Автор SHA1 Сообщение Дата
Siddharth Kshetrapal b6e76817b8
remove unnecessary --ignore-scripts 2022-10-10 17:08:26 +02:00
Siddharth Kshetrapal 668d1fc638
add publish-registry as another job 2022-10-10 16:54:12 +02:00
Siddharth Kshetrapal a934ce7ade
remove second publish from postpublish 2022-10-10 16:49:09 +02:00
Cole Bemis 6451298b3e
Merge pull request #71 from github/colebemis-patch-1
Publish to GitHub Package Registry in publish action
2022-10-03 16:05:43 -07:00
Cole Bemis abf2607702
Remove `--ignore-scripts` flag 2022-10-03 16:01:37 -07:00
Dusty Greif 3c70e3f760
Fix releases (#70)
* Remove release action in favor of publish

* Also publish to GHPR
2022-09-29 13:59:53 -07:00
Manuel Puyol 95a4c1c833
Merge pull request #69 from keithamus/patch-1
move AOR to primer
2022-09-23 12:47:56 -05:00
Keith Cirkel 2807bffe95
move AOR to primer 2022-09-23 17:55:26 +01:00
Manuel Puyol 029c5e4f88
Merge pull request #68 from anleac/paste-config
Add architecture for granual pasteAsPlainText support
2022-09-21 10:41:06 -05:00
Andrew L c81e20ba52 Update readme 2022-09-21 08:20:10 +01:00
Andrew L 9bd8558052 PoC for granual support 2022-09-20 19:57:10 +02:00
Andrew L 26613065ba Make config flag more specific 2022-09-20 13:21:27 +02:00
Andrew L cd58a5290f Update to use weak map 2022-09-16 21:06:35 +02:00
Andrew L bd9a7fb90c Remove debug statements 2022-09-16 20:45:05 +02:00
Andrew L c8cab7891b Support paste config 2022-09-15 19:51:47 +02:00
Ian Candy 6a2f6df33c
Validate URLs before converting text to a link (#66) 2022-08-17 13:21:55 -07:00
Manuel Puyol 2cf7f941c7
Merge pull request #65 from ipc103/update-paste-links
Only paste links when pasted text is only a URL
2022-08-11 10:18:19 -05:00
Ian Candy dedae8d80c Only paste links when pasted text is only url
When the text being pasted contained a URL, we were attempting to convert the target text into a markdown link. However, this was causing some undeseried behavior, because the pasted text was being treated like an exact URL. This updates the RegExp test to look for an exact string of a URL so that we don't match on longer strings.

Borrowed from SO: https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url
2022-08-10 20:51:23 -04:00
GitHub Actions a329717668 1.3.3 2022-07-27 15:42:35 +00:00
GitHub Actions 3eb4a0c8b6 1.3.2 2022-07-27 15:40:37 +00:00
Alon Kenneth 6090af4caf
do not format as markdown when pasting after at mention (#64) 2022-07-27 08:33:10 -07:00
Simon Taranto 95ee1ef142
Merge pull request #63 from github/dependabot/npm_and_yarn/got-11.8.5
Bump got from 11.8.3 to 11.8.5
2022-06-23 10:02:59 -06:00
dependabot[bot] cf0d64de06
Bump got from 11.8.3 to 11.8.5
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 12:00:11 +00:00
GitHub Actions 531f93d556 1.3.1 2022-05-16 17:03:35 +00:00
Manuel Puyol feca08c77d
Merge pull request #54 from sorcio/fix-nested-html
Improve parsing of HTML anchor content
2022-05-16 12:02:26 -05:00
GitHub Actions eac0cd5b06 1.3.0 2022-05-14 01:10:37 +00:00
Ned Schwartz 8cdc3a65f4
Merge pull request #59 from zutshisunakshi/upstream/theinterned/unformatted-before-and-after
Support keyboard shortcut for formatted Vs Unformatted paste
2022-05-13 21:08:18 -04:00
Ned Schwartz 5a35b5b858 reformats test a bit 2022-05-13 21:04:27 -04:00
Ned Schwartz 58a4671628 removes erroneous event listener 2022-05-13 20:47:41 -04:00
Ned Schwartz 688561f15c extract test helper 2022-05-13 20:45:22 -04:00
Ned Schwartz a6a07393ba
add reference link 2022-05-13 19:55:03 -04:00
Sunakshi Zutshi e84f612fff
correct test to test paste on dispatch keydown event 2022-05-13 15:32:37 -04:00
Sunakshi Zutshi fea55a6882
wrong deletion 2022-05-13 13:00:06 -04:00
Sunakshi Zutshi f5a1678b1d
adding a test for selected text link on skip formatting 2022-05-13 12:48:34 -04:00
Ned Schwartz 5524c15e37 update case 2022-05-13 11:01:52 -04:00
Ned Schwartz c890527af6 use an `installAround` to install skip formatting
to avoid fragility of the install before and after approach
2022-05-13 10:58:49 -04:00
Sunakshi Zutshi fc32d4d489 rename and add support for macOS 2022-05-13 09:22:07 +00:00
Sunakshi Zutshi d28e5d1be8 revert package lock 2022-05-12 02:40:06 +00:00
Sunakshi Zutshi 21b602087e rename file to suit content 2022-05-12 02:13:47 +00:00
Ned Schwartz 55f90e1649 --wip-- 2022-05-11 19:05:44 -04:00
Sunakshi Zutshi bc23e01017 adding new handler for keyboard shortcut paste 2022-05-11 22:00:57 +00:00
Sunakshi Zutshi 9cbea84b95 add new handler file 2022-05-11 21:48:18 +00:00
Davide Rizzo fd12c0f306 fix: normalize whitespace in link labels 2022-05-07 01:32:01 +02:00
Davide Rizzo 983a7166b4 fix: skip child nodes of links 2022-05-07 01:29:18 +02:00
Simon Taranto 287767d307
Merge pull request #50 from imjohnbo/treewalker
Fix: target correct link when multiple matches are present
2022-04-21 09:13:19 -06:00
John Bohannon d3ec4356fd chore: lint 2022-04-21 10:06:00 -04:00
John Bohannon fc3e6cc4d3 fix: reduce NODE_LIMIT to 10k 2022-04-21 10:04:07 -04:00
John Bohannon 3a7ea4bd1e refactor: adjust types 2022-04-21 10:03:47 -04:00
John Bohannon a1e471919b
Update src/paste-markdown-html.ts
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-04-21 08:58:57 -04:00
John Bohannon b5eec8adb7 fix: adjust algorithm to target correct link when multiple matches are present 2022-04-20 15:55:39 -04:00