Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from upstream #4

Open
wants to merge 113 commits into
base: pr
Choose a base branch
from
Open

Commits on Sep 10, 2020

  1. Configuration menu
    Copy the full SHA
    1eb5358 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. Adjust code style in 1eb5358

    marijnh committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    83d39b7 View commit details
    Browse the repository at this point in the history
  2. Add release note

    FIX: Fix an issue where an inner node's mark information could reset the
    same mark provided by an outer node in the DOM parser.
    marijnh committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    c1593e8 View commit details
    Browse the repository at this point in the history
  3. Mark version 1.11.1

    marijnh committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    34e3e43 View commit details
    Browse the repository at this point in the history
  4. Fix mark with attrs missing in nested mark rule parsing

    lastnigtic authored and marijnh committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    b8f177e View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2020

  1. Fix findIndex is not supported in IE (ProseMirror#53)

    Co-authored-by: lastnigtic <[email protected]>
    
    FIX: Fix issue where 1.11.1 uses an array method not available on Internet Explorer.
    lastnigtic authored Sep 12, 2020
    Configuration menu
    Copy the full SHA
    c7c65ea View commit details
    Browse the repository at this point in the history
  2. Mark version 1.11.2

    marijnh committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    bd08108 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. fix typo

    Xheldon authored and marijnh committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    4d62ca2 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. chore: fix linter errors

    hedgepigdaniel authored and marijnh committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    9df6d80 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2020

  1. Allow DOMOutputSpec values to already be {dom, contentDOM} objects

    FEATURE: The output of `toDOM` functions can now be a `{dom, contentDOM}`
    object specifying the precise parent and content DOM elements.
    
    See https://discuss.prosemirror.net/t/contentdom-when-returning-a-dom-node-from-todom/3209
    marijnh committed Oct 11, 2020
    Configuration menu
    Copy the full SHA
    9ed7f47 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.12.0

    marijnh committed Oct 11, 2020
    Configuration menu
    Copy the full SHA
    31cf53a View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

  1. Configuration menu
    Copy the full SHA
    5564b0e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Implement nonconsuming parse rules (RFC 11)

    See https://discuss.prosemirror.net/t/underline-parserule-that-excludes-links/3302/9
    See https://github.com/ProseMirror/rfcs/blob/master/text/0011-nonconsuming-parse-rules.md
    
    FEATURE: Parse rules can now have a `consuming: false` property which
    allows other rules to match their tag or style even when they apply.
    marijnh committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    d5a82e5 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.13.0

    marijnh committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    cc53b08 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Configuration menu
    Copy the full SHA
    ae6ab85 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2020

  1. Configuration menu
    Copy the full SHA
    6ab3beb View commit details
    Browse the repository at this point in the history
  2. Add release note

    FIX: Fix a bug where nested marks of the same type would be applied to
    the wrong node when parsing from DOM.
    marijnh committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    d385eff View commit details
    Browse the repository at this point in the history
  3. Mark version 1.13.1

    marijnh committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    b7aa9df View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. Configuration menu
    Copy the full SHA
    18fd890 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. Make sure MarkType.removeFromSet removes _all_ instances

    FIX: `MarkType.removeFromSet` now removes all instances of the mark, not just
    the first one.
    
    Issue ProseMirror/prosemirror-transform#17
    marijnh committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    185cf4b View commit details
    Browse the repository at this point in the history
  2. Mark version 1.13.2

    marijnh committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    a0556b8 View commit details
    Browse the repository at this point in the history
  3. Fix bug where the DOM parser would apply marks in invalid places

    FIX: Fix an issue where nested tags that match mark parser rules could cause
    the parser to apply marks in invalid places.
    
    Closes ProseMirror/prosemirror#1130
    marijnh committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    28aef80 View commit details
    Browse the repository at this point in the history
  4. Mark version 1.13.3

    marijnh committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    67d65f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. Document Fragment.textBetween

    FEATURE: `Fragment.textBetween` is now public.
    marijnh committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    024384b View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Make Node.check check mark set validity

    FIX: `Node.check` will now error if a node has an invalid combination of marks.
    
    Closes ProseMirror/prosemirror#1116
    marijnh committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    06a044a View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. Remove carriage return characters from parsed DOM content

    Even when preserveWhitespace is "full".
    
    FIX: Don't leave carriage return characters in parsed DOM content, since
    they confuse Chrome's cursor motion.
    
    Issue ProseMirror/prosemirror#1138
    marijnh committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    eef20c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Configuration menu
    Copy the full SHA
    41b48ab View commit details
    Browse the repository at this point in the history
  2. Mark version 1.14.0

    marijnh committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    71c174d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Don't ignore whitespace-only modes in DOM parsing when preserveWhites…

    …pace is full
    
    FIX: DOM parsing with `preserveWhitespace: "full"` will no longer ignore
    whitespace-only nodes.
    
    Issue ProseMirror/prosemirror#1159
    marijnh committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    f28b89a View commit details
    Browse the repository at this point in the history
  2. Mark version 1.14.1

    marijnh committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    3c0b054 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. More aggressively assign inline context in parseSlice

    FIX: Be less agressive about dropping whitespace when the context isn't
    know in `DOMParser.parseSlice`.
    
    Issue ProseMirror/prosemirror#1182
    marijnh committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    9ef5746 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.14.2

    marijnh committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    c1119ee View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Make serializeNode include marks

    FIX: `DOMSerializer.serializeNode` will no longer ignore the node's marks.
    marijnh committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    cf06d61 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.14.3

    marijnh committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    5ff774f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Configuration menu
    Copy the full SHA
    ab627a1 View commit details
    Browse the repository at this point in the history
  2. Upgrade Mocha

    marijnh committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    babdac8 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Extend textBetween API by accepting function to stringify leaf nodes

    FEATURE: `textBetween` now allows its leaf text argument to be a function.
    kepta authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    039a2ee View commit details
    Browse the repository at this point in the history
  2. Mark version 1.15.0

    marijnh committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    ce7fbbb View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Configuration menu
    Copy the full SHA
    428a8ba View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Fix type comments

    marijnh committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    2322130 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Configuration menu
    Copy the full SHA
    ffbe05b View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2021

  1. Add NodeSpec.whitespace

    FEATURE: A new `NodeSpec` property, `whitespace`, allows more control
    over the way whitespace in the content of the node is parsed.
    
    Issue ProseMirror/prosemirror-view#115
    marijnh committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    b9085fb View commit details
    Browse the repository at this point in the history
  2. Mark version 1.16.0

    marijnh committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    fdc81cb View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2021

  1. Fix whitespace option propagation in DOMParser

    FIX: Fix a bug in the way whitespace-preservation options were handled
    in `DOMParser`.
    marijnh committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    2de8628 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.16.1

    marijnh committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    95298fb View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    b8c5166 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    fc9113f View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Port code to TypeScript

    marijnh committed May 20, 2022
    Configuration menu
    Copy the full SHA
    c8c7b62 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

  1. Don't directly reference the global Node type

    To avoid having our local Node type renamed to Node by the .d.ts bundler.
    marijnh committed May 21, 2022
    Configuration menu
    Copy the full SHA
    696f1e7 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Configuration menu
    Copy the full SHA
    26c634f View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Mark version 1.17.0

    marijnh committed May 30, 2022
    Configuration menu
    Copy the full SHA
    10f2e2e View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Allow a leaf node to customize its textContent

    FEATURE: Node specs for leaf nodes now support a property `leafText` which, when given,
    will be used by `textContent` and `textBetween` to serialize the node.
    ocavue authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    de1b852 View commit details
    Browse the repository at this point in the history
  2. Add stronger typing for Schema

    ... allowing the statically known names of mark and node types to be accessed without error even with the TypeScript option `noUncheckedIndexedAccess` enabled. In addition, this should also make the node and mark types available for auto-completion in the editor. See https://discuss.prosemirror.net/t/prosemirror-is-now-a-typescript-project/4624/34 (ProseMirror#67)
    
    FEATURE: Add optional type parameters to `Schema` for the node and mark names.
    cmlenz authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    c10cf98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d40def1 View commit details
    Browse the repository at this point in the history
  4. Mark version 1.18.0

    marijnh committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    278e717 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Explicitly specify the type of nodeFromJSON

    Since TypeScript somehow puts any in the .d.ts otherwise.
    
    Issue ProseMirror/prosemirror#1283
    marijnh committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    6789b33 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    bddb01a View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Upgrade to orderedmap 2.0

    FIX: Upgrade to orderedmap 2.0.0 to avoid around a TypeScript compilation issue.
    marijnh committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    eb9cc6f View commit details
    Browse the repository at this point in the history
  2. Mark version 1.18.1

    marijnh committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    152ce93 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Make it compile in typescript 3

    dreusel authored and marijnh committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    8df218e View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Add NodeType.checkContent method

    This method will throw a RangeError with some debugging information
    if the content is not valid.
    ocavue authored and marijnh committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    b99fa72 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Configuration menu
    Copy the full SHA
    cdb4819 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Suppress type errors

    marijnh committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    777079a View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. Ensure Node.inlineContent returns a boolean

    Previously, it could also return 0
    scq authored and marijnh committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    5e6c84d View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Remove gitter link

    Discussion there works poorly, and it's started to attract spam. Use the
    forum instead.
    marijnh committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    cc6c475 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Close blocks with inline content on seeing block-level elements

    FIX: Improve DOM parsing of nested block elements mixing block and inline children.
    
    Closes ProseMirror/prosemirror#1332
    marijnh committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    dacd4cb View commit details
    Browse the repository at this point in the history
  2. Mark version 1.18.2

    marijnh committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    1b843bf View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Copy all spec properties to Schema.spec

    FIX: Copy all properties from the input spec to `Schema.spec`.
    
    See https://discuss.prosemirror.net/t/attaching-custom-props-to-schemas-spec/5036
    marijnh committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    35e4fd6 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Mark version 1.18.3

    marijnh committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    0395aae View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Allow style parse rules to clear marks

    FEATURE: Parse rules for styles can now provide a `clearMark` property
    to remove pending marks (for example for `font-style: normal`).
    
    Issue ProseMirror/prosemirror#1347
    marijnh committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    be4ae4e View commit details
    Browse the repository at this point in the history
  2. Mark version 1.19.0

    marijnh committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    93e9a40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    018df43 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Update maintainer email

    marijnh committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    e8778de View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Configuration menu
    Copy the full SHA
    9201015 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Expose the index parameter in the Fragment descendants callback

    FIX: Fix the types of `Fragment.desendants` to include the index parameter to the callback.
    whawker authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    1cbef0f View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Add release note

    FIX: Include CommonJS type declarations in the package to please new
    TypeScript resolution settings.
    marijnh committed May 17, 2023
    Configuration menu
    Copy the full SHA
    8ff6941 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.19.1

    marijnh committed May 17, 2023
    Configuration menu
    Copy the full SHA
    e486c6f View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Allow active marks to be cleared by clearMark parse rules

    FIX: Allow parse rules with a `clearMark` directive to clear marks that have already
    been applied.
    
    Closes ProseMirror/prosemirror#1376
    marijnh committed May 19, 2023
    Configuration menu
    Copy the full SHA
    4ba155f View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Mark version 1.19.2

    marijnh committed May 23, 2023
    Configuration menu
    Copy the full SHA
    5a5aeba View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Don't apply style parse rules for skipped nodes

    FIX: Don't apply style parse rules for nodes that are skipped by other parse rules.
    
    Closes ProseMirror/prosemirror#1398
    marijnh committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    4947c38 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.19.3

    marijnh committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    387576a View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Make sure textBetween includes block separators around empty textblocks

    FIX: Make `textBetween` emit block separators for empty textblocks.
    
    Closes ProseMirror/prosemirror#1419
    marijnh committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    49db562 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Upgrade jsdom for tests

    marijnh committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    1b2ebc7 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.19.4

    marijnh committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    a37b6b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Make ParseRule a union type

    FEATURE: The `ParseRule` type is now a union of `TagParseRule` and
    `StyleParseRule`, with more specific types being used when
    appropriate.
    marijnh committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    79a3806 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.20.0

    marijnh committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    4ea136e View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Add support for linebreak replacement nodes in schema configuration

    FEATURE: The new `linebreakReplacement` property on node specs makes it
    possible to configure a node type that `setBlockType` will convert to and
    from line breaks when appropriate.
    
    Issue ProseMirror/prosemirror#1460
    marijnh committed May 6, 2024
    Configuration menu
    Copy the full SHA
    a8a8041 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.21.0

    marijnh committed May 6, 2024
    Configuration menu
    Copy the full SHA
    b71f73f View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Configuration menu
    Copy the full SHA
    d616169 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. Configuration menu
    Copy the full SHA
    7726c3b View commit details
    Browse the repository at this point in the history
  2. Use the parsed DOM styles instead of parsing them separately

    FIX: Improve performance and accuracy of `DOMParser` style matching by using
    the DOM's own `style` object.
    
    Issue ProseMirror/prosemirror#1470
    marijnh committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    899a98e View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    c6bbbbd View commit details
    Browse the repository at this point in the history
  2. Mark version 1.21.1

    marijnh committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    a6c5ce1 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    d326751 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Add some missing type declarations

    s524797336 authored and marijnh committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    cde085e View commit details
    Browse the repository at this point in the history
  2. Use a WeakMap in the resolved position cache to avoid leaking

    FIX: Make sure resolved positions (and thus the document and schema hanging
    off them) don't get kept in the cache when their document can be garbage-collected.
    
    Closes ProseMirror#81
    marijnh committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    54de8c0 View commit details
    Browse the repository at this point in the history
  3. Mark version 1.21.2

    marijnh committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    68c3cd5 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Directly query style props used in parse rules

    ... rather than iterating style items, which may show only normalized
    versions of the properties.
    
    FIX: Fix an issue where parse rules for CSS properties that were
    shorthands for a number of more detailed properties weren't matching
    properly.
    
    Closes ProseMirror/prosemirror#1473
    marijnh committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    1f0c6ed View commit details
    Browse the repository at this point in the history
  2. Mark version 1.21.3

    marijnh committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    751134c View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Add attribute value validation

    FEATURE: Attribute specs now support a `validate` property that can be used to
    provide a validation function for the attribute, to guard against corrupt JSON
    input.
    marijnh committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    fca6ef9 View commit details
    Browse the repository at this point in the history
  2. Mark version 1.22.0

    marijnh committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    1357ec7 View commit details
    Browse the repository at this point in the history
  3. Add code to actively guard against corrupted-attribute XSS attacks

    FIX: Add code to `DOMSerializer` that rejects DOM output specs when they originate from
    attribute values, to protect against XSS attacks that use corrupt attribute input.
    marijnh committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    6e977d7 View commit details
    Browse the repository at this point in the history
  4. Mark version 1.22.1

    marijnh committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    3360cdc View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Fix a type error

    marijnh committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e313240 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc27a3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25285b6 View commit details
    Browse the repository at this point in the history
  4. Add release note

    FIX: Make attribute validation messages more informative.
    marijnh committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e1f6e22 View commit details
    Browse the repository at this point in the history
  5. Mark version 1.22.2

    marijnh committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    343fcd7 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Fix a typo in the comment

    ocavue authored and marijnh committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    17709d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Overhaul the way marks are tracked in DOMParser

    FIX: Fix some corner cases in the way the DOM parser tracks active marks.
    
    See https://discuss.prosemirror.net/t/how-to-parse-nested-mark-attributes/6596
    marijnh committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    d47033e View commit details
    Browse the repository at this point in the history
  2. Mark version 1.22.3

    marijnh committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    be711f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. model 翻译-1

    Xheldon authored and shlroland committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    db4f579 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28d3bc3 View commit details
    Browse the repository at this point in the history