Skip to content

Commit 3d3abd7

Browse files
committed
Version 2.3.2
See changelog
1 parent 56d260c commit 3d3abd7

File tree

4 files changed

+422
-55
lines changed

4 files changed

+422
-55
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## LaTeX Table Editor ##
22

3-
**Version 2.3.1.3**
3+
**Version 2.3.2**
44

55
This is the GitHub page of an Open Source WYSIWYG table editor that exports to multiples languages including LaTeX, ConTeXt, Plain TeX, CSV, HTML, BBCode, Eplain, PreTeXt, MediaWiki, Markdown and WML.
66

src/changelog.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ Legend
66
[#] Fixed
77
Dates use a YYYY/MM/DD format.
88

9+
Version 2.3.2 (2022/03/31)
10+
==========
11+
12+
| Note on this release:
13+
| Improved tabularray import and pasting plain text
14+
15+
CORE
16+
17+
[+] SHIFT + Paste now paste plain text
18+
19+
LATEX IMPORT
20+
21+
[+] Support for horizontal and vertical borders when importing tabularray tables
22+
[+] Support for complex odd/even selectors when importing tabularray tables
23+
924
Version 2.3.1.3 (2022/03/05)
1025
==========
1126

src/js.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function $id(id) {
114114
return "[rgb]{"+sep+"}";
115115
},
116116
table = new(function() {
117-
this.version = "2.3.1.3";
117+
this.version = "2.3.2";
118118
this.create = function(cols, rows) {
119119
rows = parseInt(rows, 10);
120120
cols = parseInt(cols, 10);
@@ -1968,7 +1968,8 @@ this.getHTML = (function(){
19681968
txt.value = document.getElementById(oldid).querySelector("textarea").value;
19691969
}
19701970
}
1971-
div.appendChild(nb);div.appendChild(txt);
1971+
div.appendChild(nb);
1972+
div.appendChild(txt);
19721973
for(;;){
19731974
var rand = "footnote" + Math.floor(Math.random()*100000);
19741975
if(!document.getElementById(rand)){break;}
@@ -2141,6 +2142,7 @@ this.getHTML = (function(){
21412142
var trimLeft = /^\S/.test(plain),
21422143
trimRight = /\S$/.test(plain);
21432144
var dataHtml = e.clipboardData.getData("text/html");
2145+
if(e.shiftKey){dataHtml = null;}
21442146
if(dataHtml){
21452147
d.innerHTML = dataHtml;
21462148
// A little bit of clean up

0 commit comments

Comments
 (0)