fix(copy-tex): Use JS (instead of CSS) to select full equation, solving display glitches (#3586)

* copy-tex: Use JS to select full equation instead of CSS

* remove CSS

* Update webpack.common.js

* more build tweaks

* Update contrib/copy-tex/copy-tex.js

Co-authored-by: Erik Demaine <edemaine@mit.edu>

* Document new behavior

BREAKING CHANGE: copy-tex extension no longer has (or requires) a CSS file.

* Code cleanup, lint fixes, port to Flow

* Rewrite to extend both start and end of range

* Remove contrib/**/*.css linting

Co-authored-by: Erik Demaine <edemaine@mit.edu>
This commit is contained in:
Fons van der Plas
2022-06-06 18:09:30 +02:00
committed by GitHub
parent 023cc0342c
commit 8c2d852c4a
9 changed files with 64 additions and 56 deletions

View File

@@ -43,7 +43,7 @@ const targets /*: Array<Target> */ = [
},
{
name: 'contrib/copy-tex',
entry: './contrib/copy-tex/copy-tex.webpack.js',
entry: './contrib/copy-tex/copy-tex.js',
},
{
name: 'contrib/mathtex-script-type',