* fix: del and ins type in run property

* 0.0.2300

* fix
main
bokuweb 2022-01-19 14:09:38 +09:00 committed by GitHub
parent 447fcae3de
commit fb99bd8f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## docx-wasm@0.0.229 (19. January, 2022)
- Fixed a del/ins type in runProperty
## docx-wasm@0.0.228 (18. January, 2022)
- Fixed a bug, numPr reader panic when id is none.

View File

@ -4,7 +4,7 @@ use std::fs::File;
use std::io::{Read, Write};
pub fn main() {
let mut file = File::open("./table-indent.docx").unwrap();
let mut file = File::open("./center.docx").unwrap();
let mut buf = vec![];
file.read_to_end(&mut buf).unwrap();

View File

@ -37,8 +37,8 @@ export type RunPropertyJSON = {
vanish?: boolean | null;
spacing?: number | null;
textBorder?: TextBorderJSON | null;
ins?: InsertJSON | null;
del?: DeleteJSON | null;
ins?: InsertJSON['data'] | null;
del?: DeleteJSON['data'] | null;
strike?: boolean;
};

View File

@ -1,6 +1,6 @@
{
"name": "docx-wasm",
"version": "0.0.228",
"version": "0.0.229",
"main": "dist/node/index.js",
"browser": "dist/web/index.js",
"author": "bokuweb <bokuweb12@gmail.com>",