File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ### 0.2.2 | 2018-02-19
4+
5+ - Remove "Pasted content is invalid" check. Will do proper HTML validation in [ #30 ] ( https://github.com/octref/polacode/issues/30 ) .
6+
37### 0.2.1 | 2018-02-19
48
59- Fix an issue where Polacode incorrectly reports "Pasted content is invalid".
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ function stripInitialIndent(html, indent) {
9696
9797document . addEventListener ( 'paste' , e => {
9898 const innerHTML = e . clipboardData . getData ( 'text/html' )
99- if ( ! innerHTML . startsWith ( `<meta` ) ) {
100- postMessage ( 'invalidPasteContent' )
101- return
102- }
10399
104100 const code = e . clipboardData . getData ( 'text/plain' )
105101 const minIndent = getMinIndent ( code )
You can’t perform that action at this time.
0 commit comments