Paste from Word - further source differences

Created on 16 July 2024, 5 months ago
Updated 30 July 2024, 5 months ago

Problem/Motivation

We recently added Handle paste from office for footnotes Needs work . There are more source possibilities for paste from Word raised in testing. Here is some more example content:

<a\u{13}\u{10}style='mso-footnote-id:ftn1' href="#_ftn1" name="_ftnref1" title="">
  <span\u{13}\u{10}class=MsoFootnoteReference>
    <span style='mso-special-character:footnote'>
      <![if !supportFootnotes]>
        <span\u{13}\u{10}class=MsoFootnoteReference>
          <span lang=EN-GB style='font-size:11.0pt;font-family:\u{13}\u{10}"Franklin Gothic Book",sans-serif;mso-fareast-font-family:"Franklin Gothic";\u{13}\u{10}mso-bidi-font-family:"Franklin Gothic";mso-ansi-language:EN-GB;mso-fareast-language:\u{13}\u{10}EN-GB;mso-bidi-language:AR-SA'>[1]</span>
        </span>
      <![endif]>
    </span>
  </span>
</a>

<p class=MsoFootnoteText style='margin-left:0cm'>
  <a style='mso-footnote-id:\u{13}\u{10}ftn1' href="#_ftnref1" name="_ftn1" title="">
    <span class=MsoFootnoteReference>
      <span\u{13}\u{10}lang=EN-GB>
        <span style='mso-special-character:footnote'>
          <![if !supportFootnotes]>
            <span\u{13}\u{10}class=MsoFootnoteReference>
              <span lang=EN-GB style='font-size:10.0pt;font-family:\u{13}\u{10}"Franklin Gothic Book",sans-serif;mso-fareast-font-family:"Times New Roman";\u{13}\u{10}mso-bidi-font-family:"Libre Franklin";mso-ansi-language:EN-GB;mso-fareast-language:\u{13}\u{10}EN-GB;mso-bidi-language:AR-SA'>[1]</span>
            </span>
          <![endif]>
        </span>
      </span>
    </span>
  </a>
  <span\u{13}\u{10}lang=EN-GB> </span>
  <span lang=EN-GB style='font-size:9.0pt'>See United Nations,\u{13}\u{10}\u{8220}Guidelines for gender-sensitive language\u{8221}
    <span style='color:#333333;\u{13}\u{10}background:#E8F8FD'>, </span>
  </span>
  <span lang=EN-GB>
    <a\u{13}\u{10}href="https://www.un.org/en/gender-inclusive-language/guidelines.shtml">
      <span\u{13}\u{10}style='font-size:9.0pt;background:#E8F8FD'>https://www.un.org/en/gender-inclusive-language/guidelines.shtml</span>
    </a>
  </span>
  <span\u{13}\u{10}lang=EN-GB style='font-size:9.0pt;color:#333333;background:#E8F8FD'>.</span>
  <span\u{13}\u{10}lang=EN-GB>
    <o:p></o:p>
  </span>
</p>

Steps to reproduce

Attempt to paste the above

Proposed resolution

Support this new source format

Remaining tasks

Merge request

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Feature request
Status

Fixed

Version

4.0

Component

Footnotes

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024