Releases: massifrg/pundok-editor
v0.12.5
New features:
-
Shift-Alt-down
moves a paragraph inside the nextDiv
,BlockQuote
orFigure
,Shift-Alt-up
moves it inside the previous one (this command is still a bit buggy, but for single paragraphs it works); -
CSS selection now supports " ", "+" and "~" combinators for marks: you can find nested (outermark innermark), subsequent (mark1 ~ mark2) or next (mark1 + mark2) marks; actually, "nested marks" stands for marks that are present at the same time on an inline node, since you can't have nested marks in Prosemirror (so "mark1 mark2" is equal to "mark2 mark1");
-
shortcuts to open the Search and Replace dialog (Ctrl-F), and to move to the previous (Alt+left) or next (Alt+right) text found;
-
indexing commands have been added to the repeatable commands (Alt-R); Alt+X inserts an index reference of the first or the last used index;
-
in the toolbar now you find not only the indices that are defined in a configuration or a project, but also the ones that are simply in the document
-
character styles have been moved to the right side panel.
Fixes:
-
a bug that prevented saving paragraph styles inside a Figure block;
-
bug fixes to the right side panel for Div, Header and Para styles.
Full Changelog: v0.12.4...v0.12.5
v0.12.4
New features:
-
shortcuts are visible in buttons tooltips
-
Alt+I
adds theinclude-doc
class to aDiv
and causes the open file dialog to show asking for the name of the file to be included -
most of the
Block
nodes can be duplicated (useful when you want to make a different version of an existing node, e.g. aTable
) -
more commands are made repeatable with
Alt+R
: toggleDiv
andFigure
, insertNote
, add reference to index
Fixes:
- relative path in image
Full Changelog: v0.12.3...v0.12.4
v0.12.3
Better metadata rendering.
New feature: you can define CustomMetadata
in a configuration (or in a project file).
In configuration JSON files, they are like this:
...
"CustomMetadata": [
{
"type": "MetaInlines",
"name": "Author",
"description": "The author of the document"
},
{
"type": "MetaBool",
"name": "verified",
"description": "the document is verified",
"default": false
},
...
]
...
In the metadata UI, there's a dropdown button with the custom metadata, so that you can add them just clicking on a list.
Full Changelog: v0.12.2...v0.12.3
v0.12.2
This version introduces rendering of images on the local file system referenced with the Target.URL
of Image
inlines.
Currently JPEG, PNG, SVG and PDF are supported.
A new button in the menubar lets you insert a new image.
In the attributes dialog there's a button on the right of the Target URL text field, that lets you pick an image file from the file system.
If your file has not been saved yet, you'll get an absolute path. Once you save the document, you can make the absolute paths relative to the document (there are two menu items for that in the dropdown button you use to insert a new image).
This version also provides a better rendering of table sections and column alignments: when a cell has an AlignDefault
alignment, it will be aligned the way specified in the corresponding ColSpec
of its Table
.
Those new features come from testing the editor with the files in the test directory of pandoc repository. You can do the same and test the editor with those files, to have a glimpse of what it can do, as long as it lacks proper documentation.
Full Changelog: v0.12.1...v0.12.2
Version 0.12.1
Table column/cell alignments fixed.
Full Changelog: v0.12.0...v0.12.1
Version 0.12.0
This is the first version with basic support for Cite
items and a (hopefully) right implementation of MetaMap
elements in metadata.
The support of Pandoc text elements should be complete now.
Notes that are not footnotes are saved as Note
inlines with a surrounding Span
with a note-type
attribute.
Currently you'd need a custom filter or a custom writer to discriminate between them, otherwise they are all considered footnotes.
Some text[^1] with notes[[^2]]{note-type="endnote"}.
[^1]: footnote text
[^2]: endnote text
Full Changelog: v0.11.9...v0.12.0