chore: Update tinymce version to 6.8.3 in package.json and yarn.lock (#36909)
## Description TinyMCE initially switched from LGPL to MIT in 2022, aiming for a more permissive license. However, it reverted to GPL v2+ for version 7, which is a concern for us. TinyMCE 6.8.3 under the MIT license until October 31, 2024, it will stop receiving any security updates post that. Fixes #36859 _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.TextEditor" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/11379278624> > Commit: 8aa96b6100642663f39e275b370582397e11a6a4 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11379278624&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.TextEditor` > Spec: > <hr>Thu, 17 Oct 2024 06:29:32 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No
This commit is contained in:
parent
81b2146cab
commit
9719e9238c
|
|
@ -49,7 +49,7 @@ describe(
|
|||
});
|
||||
|
||||
it("3. Verify applying style in one line should be observed in next line", function () {
|
||||
agHelper.GetNClick(locators._richText_Text_Color);
|
||||
agHelper.GetNClick(locators._richText_Text_Color("Black"));
|
||||
agHelper.GetNClick(locators._richText_color("Red"));
|
||||
agHelper
|
||||
.GetElement(
|
||||
|
|
|
|||
|
|
@ -137,18 +137,18 @@ describe(
|
|||
cy.get('[aria-label="Underline"]').should("exist");
|
||||
|
||||
//Check if button for Background Color is rendered only once within the Toolbar of RTE widget
|
||||
cy.get('[data-mce-name="backcolor"]').should("have.length", 1);
|
||||
cy.get('[aria-label="Background color Black"]').should("have.length", 1);
|
||||
|
||||
//Check if button for Text Color is rendered only once within the Toolbar of RTE widget
|
||||
cy.get('[data-mce-name="forecolor"]').should("have.length", 1);
|
||||
cy.get('[aria-label="Text color Black"]').should("have.length", 1);
|
||||
});
|
||||
|
||||
it("6. Check if able to add an emoji through toolbar", () => {
|
||||
cy.get('[data-mce-name="overflow-button"]').click({ force: true });
|
||||
cy.wait(500);
|
||||
cy.get('[data-mce-name="emoticons"]').click({ force: true });
|
||||
cy.wait(500);
|
||||
cy.get('[data-mce-tooltip="grinning"]').click({ force: true });
|
||||
cy.get('[aria-label="Reveal or hide additional toolbar items"]').click({
|
||||
force: true,
|
||||
});
|
||||
cy.get('[aria-label="Emojis"]').click({ force: true });
|
||||
cy.get('[aria-label="grinning"]').click({ force: true });
|
||||
const getEditorContent = (win) => {
|
||||
const tinyMceId = "rte-component-vw4zehojqt";
|
||||
const editor = win.tinymce.EditorManager.get(tinyMceId);
|
||||
|
|
|
|||
|
|
@ -316,12 +316,12 @@ export class CommonLocators {
|
|||
`.uppy-Informer p:contains('${msg}')`;
|
||||
_fileUploadAddMore = ".uppy-DashboardContent-addMore";
|
||||
_buttonText = ".bp3-button-text";
|
||||
_richText_TitleBlock = "[data-mce-name='blocks']";
|
||||
_richText_Heading = "[aria-label='Heading 1']";
|
||||
_richText_TitleBlock = "[aria-label='Block Paragraph']";
|
||||
_richText_Heading = "[title='Heading 1']";
|
||||
_richText_Label_Text = ".tox-tbtn__select-label";
|
||||
_richText_Text_Color =
|
||||
'[data-mce-name="forecolor"] .tox-split-button__chevron';
|
||||
_richText_color = (value: string) => `[data-mce-name="${value}"]`;
|
||||
_richText_Text_Color = (color: string) =>
|
||||
`[aria-label="Text color ${color}"] .tox-split-button__chevron`;
|
||||
_richText_color = (value: string) => `[title="${value}"]`;
|
||||
_richText_line = "#tinymce p span";
|
||||
_treeSelectedContent = ".rc-tree-select-selection-item-content";
|
||||
_switcherIcon = ".switcher-icon";
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@
|
|||
"tailwindcss": "^3.3.3",
|
||||
"tern": "^0.21.0",
|
||||
"tinycolor2": "^1.4.2",
|
||||
"tinymce": "^7.3.0",
|
||||
"tinymce": "6.8.3",
|
||||
"toposort": "^2.0.2",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "^5.5.4",
|
||||
|
|
|
|||
|
|
@ -12995,7 +12995,7 @@ __metadata:
|
|||
tailwindcss: ^3.3.3
|
||||
tern: ^0.21.0
|
||||
tinycolor2: ^1.4.2
|
||||
tinymce: ^7.3.0
|
||||
tinymce: 6.8.3
|
||||
toposort: ^2.0.2
|
||||
ts-jest: 29.1.0
|
||||
ts-jest-mock-import-meta: ^0.12.0
|
||||
|
|
@ -32225,7 +32225,14 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tinymce@npm:^7.0.0 || ^6.0.0 || ^5.5.1, tinymce@npm:^7.3.0":
|
||||
"tinymce@npm:6.8.3":
|
||||
version: 6.8.3
|
||||
resolution: "tinymce@npm:6.8.3"
|
||||
checksum: 2ce922ceb60636778afb21a493e99d561e73f82c5fb331a4f666d973129ca27277bc1b6332d6932ab8fe0a379b1f201285f143a2d72646a813fda88a0dec5312
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tinymce@npm:^7.0.0 || ^6.0.0 || ^5.5.1":
|
||||
version: 7.3.0
|
||||
resolution: "tinymce@npm:7.3.0"
|
||||
checksum: 8c2205e8f316ae86c713ba09d8072921050011fbb6a28060c02c53d79d34d470995f286b478966e42c767d5905fd9d89a808338d63ac63a0ea0f96a017b020e2
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user