Skip to content

Add support for inline diff in content editor

Himanshu Kapoor requested to merge 338272-content-editor-inline-diff into master

What does this MR do?

Issue: #338272 (closed)

Adds support for rendering inline diff marks in content editor.

Screenshots or Screencasts (strongly suggested)

Aug-16-2021_17-31-27

How to setup and validate locally (strongly suggested)

  1. Edit a Wiki page.
  2. Type the below code:
1. {+added content+}
1. {-removed content-}
  1. Click "Use new editor".

  2. The content editor will automatically convert the elements to inline diff marks.

    [You can also insert inline diff directly in the content editor as shown in the gif above.]

  3. Click "save". The content should be saved successfully.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #338272 (closed)

Edited by Himanshu Kapoor

Merge request reports