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

When we Copy paste From Word after that Font Size Change Not Work for First Time #4230

Closed
kevalForever opened this issue Feb 11, 2022 · 4 comments

Comments

@kevalForever
Copy link

kevalForever commented Feb 11, 2022

Description
When We Copy paste Some thing from website or Word File after that we Can Change Whole Content Font size then in First Time is not Worked.
image

Untitled_.Feb.11.2022.5_54.PM.mp4

Follow the Step

  1. First Copy Below HTML
    <p><span style="background-color: rgb(255, 255, 255);"><br></span></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">1</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">2</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">3</span></font><span style="color: rgb(77, 81, 86); font-family: &quot;Times New Roman&quot;; font-size: 18px;">A biopsy is a medical test commonly performed by a surgeon, interventional radiologist, or an interventional cardiologist.</span><span style="color: rgb(77, 81, 86); font-family: &quot;Times New Roman&quot;; font-size: 18px;">&nbsp;</span></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">4</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">5</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">6</span></font><span style="color: rgb(77, 81, 86); font-family: &quot;Times New Roman&quot;; font-size: 18px;">The process involves extraction of sample cells or tissues for examination to determine the presence or extent of a disease.</span></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">7</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">8</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">9</span></font></p><p><font color="#202124"><span style="white-space: nowrap; background-color: rgb(255, 255, 255);">10</span></font></p>
  2. After That Select Whole Content and Try to Change Font
  3. Then throws Error and Not Change Font

Operating System:
[x] Microsoft Windows
[ ] Apple
[ ] Linux
[ ] All

Browser and Version:
[ ] Brave
[x] Chrome
[ ] Edge
[ ] Firefox
[ ] Internet Explorer
[ ] Opera
[ ] Safari
[ ] Other (Specify):

Summernote Version, place an x inside the brackets:
[ ] BS3
[ ] BS4
[x] Lite 0.8.20
[ ] All

@kevalForever kevalForever changed the title When we Copy Past From Word after that Font Size Change Not Work for First Time When we Copy paste From Word after that Font Size Change Not Work for First Time Feb 11, 2022
@kevalForever
Copy link
Author

kevalForever commented Feb 21, 2022

Hello any update in above issue DiemenDesign

@DennisSuitters
Copy link
Member

Summernote does not contain any parsing of from other sources. You can try summernote-cleaner, or reference issue #4204

@kevalForever
Copy link
Author

@diemendesign but this is not for only word In my case above HTML we made in text Document and then paste in summernote code View then above issue generated.

@DennisSuitters
Copy link
Member

As I've already mentioned, Summernote does NOT have parsing functionality to remove or modify pasted content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants