Skip to content

Commit debe7d9

Browse files
kemister85Farzad Hayatspockeabhinavgandhamltrouton
authored
DOC-2576: TinyMCE 7.6.0 Release Documentation. (#3512)
* DOC-2576: TinyMCE 7.6.0 Release Documentation. * DOC-2592: Update Accessibility Checker plugin page (#3534) * Fix T4A rule description * DOC-2592: Add contentID property to API section * DOC-2592: Fix inline code inside admonitions * DOC-2592: Remove the `information` severity level * DOC-2592: Replace [object] with actual values in getReport() example * DOC-2592: Improve a11y_advanced_options admonition * DOC-2592: Improve a11ychecker_allow_decorative_images admonition * DOC-2592: Remove trailing comma * DOC-2592: Add "link" to contentID possible types * DOC-2581: Uploadcare new plugin documentation. (#3515) * DOC-2581: Uploadcare Plugin documentation. * Update modules/ROOT/partials/configuration/uploadcare.adoc * DOC-2581: add table of features and operations. * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/examples/live-demos/uploadcare/index.js Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * DOC-2581: Update table of operations DOC-2581: Add important message for secure uploads DOC-2581: Remove demo content COD-2581: Copy edits. * DOC-2581: add note for quickbars plugin known issue. * DOC-2581: Copy edits, update uploadcare config to use partials. * Update modules/ROOT/partials/configuration/a11y_advanced_options.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/a11y_advanced_options.adoc Co-authored-by: Farzad Hayat <[email protected]> * DOC-2581: Customize a11y_advanced_options.adoc for Uploadcare * Update modules/ROOT/pages/uploadcare.adoc Co-authored-by: spocke <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare_store_type.adoc Co-authored-by: spocke <[email protected]> * DOC-2581: Added improvements to srcset, svg file name changes, general copy edits. * Update modules/ROOT/partials/menu-item-ids/uploadcare-menu-items.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/toolbar-button-ids/uploadcare-toolbar-buttons.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/uploadcare_srcset_steps.adoc Co-authored-by: Farzad Hayat <[email protected]> * DOC-2581: Add decorative image to table for a11y_advanced_option. * DOC-2581: fix table admon. * Update modules/ROOT/pages/uploadcare.adoc Co-authored-by: Farzad Hayat <[email protected]> * DOC-2581: Add live-demo content and configuration. --------- Co-authored-by: Farzad Hayat <[email protected]> Co-authored-by: spocke <[email protected]> * Update uploadcare overview to match release notes. * DOC-2578: TinyMCE 7.6.0 Release Documentation and Community Changelog. (#3513) * DOC-2578: TinyMCE 7.6.0 Release Documentation and Community Changelog. * DOC-2578: Pressing `Shift + Enter` in the comment textarea now selects the highlighted user. (#3522) * DOC-2578: Pressing Shift + Enter in the comment textarea now selects the highlighted user. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Moved content to the premium plugin area. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Changing the table row type when a `contentEditable="false"` cell was selected would not work as expected. (#3521) * DOC-2578: Tooltip would not show for group toolbar button. (#3520) * DOC-2578: Tooltip would not show for group toolbar button. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Farzad Hayat <[email protected]> Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Enhanced the accessibility checker color palette for better visual contrast and usability (#3532) * DOC-2578: Scroll to show action buttons when replying/editing a comment. (#3523) * DOC-2578: Scroll to show action buttons when replying/editing a comment. * DOC-2578: Moved content to premium plugin section and reworded content to specify we only scroll in the scenario mentioned. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2586: New disabled option for disabling all user interactions (#3527) * DOC-2578: The mentions menu now expands freely to the available space outside of the editor. (#3533) * DOC-2578: After creating a conversation, the focus goes to the newly … (#3540) * DOC-2578: After creating a conversation, the focus goes to the newly created conversation * DOC-2578: Mentioned some more scenarios where the issue occurred. * DOC-2578: Rephrased content * DOC-2578: Removed title attribute from dialog tree elements as they already have a tooltip. (#3526) * DOC-2578: Removed title attribute from dialog tree elements as they already have a tooltip. * Update 7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Fixed CSS Bundling for Skin UI Content CSS. (#3537) * DOC-2578: Fixed CSS Bundling for Skin UI Content CSS. * Update modules/ROOT/pages/7.6.0-release-notes.adoc * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: ltrouton <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: CODE:AG <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: CODE:AG <[email protected]> --------- Co-authored-by: ltrouton <[email protected]> Co-authored-by: CODE:AG <[email protected]> * DOC-2578: Checklist items were unresponsive in center or right alignments. (#3542) * DOC-2578: Adjust `tinycomments` UI font size to match the editor UI font size. (#3536) * DOC-2578: Adjust tinycomments UI font size to match the editor UI font size. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> --------- Co-authored-by: Farzad Hayat <[email protected]> * DOC-2578: Enhanced accessibility checker UI to display affected content (#3541) * DOC-2578: Enhanced accessibility checker UI to display affected content * Update 7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: The `commentAuthor` property is now included in reply events for the event log. (#3543) * DOC-2578: The commentAuthor property is now included in reply events of the event log. * Update modules/ROOT/partials/plugin-apis/comments-apis.adoc * Update modules/ROOT/partials/plugin-apis/comments-apis.adoc * Update modules/ROOT/partials/plugin-apis/comments-apis.adoc * Update modules/ROOT/partials/plugin-apis/comments-apis.adoc * Update modules/ROOT/partials/plugin-apis/comments-apis.adoc * DOC-2578: Update callback demo to include commentAuthor. * Update modules/ROOT/partials/configuration/tinycomments_reply.adoc Co-authored-by: tiny-ben-tran <[email protected]> --------- Co-authored-by: tiny-ben-tran <[email protected]> * DOC-2578: Introduced a new live region for screen readers to improve accessibility notifications. (#3545) * DOC-2578: Introduced a new live region for screen readers to improve accessibility notifications. * DOC-2578: add write-up for ticket. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Arvin(Jintao) Han <[email protected]> --------- Co-authored-by: Arvin(Jintao) Han <[email protected]> * DOC-2578: Reduced the amount of scrolling when changing between conve… (#3544) * DOC-2578: Reduced the amount of scrolling when changing between conversations in the sidebar. * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Update changelog.adoc for TinyMCE 7.6.0. * DOC-2578: Add Labels and Groups for Context Toolbar Buttons. (#3548) * DOC-2578: Add Labels and Groups for Context Toolbar Buttons. * Update antora.yml * DOC-2578: Added placeholder support for context form input fields. (#3549) * DOC-2578: Fixed Caret Position when closing Comment Mentions dropdown (#3525) * DOC-2578: Fixed Caret Position when closing Comment Mentions dropdown TINY-11453 * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Added tooltips to conversation and comment kebab menus. (#3546) * DOC-2578: Spelling error in tooltip for toggle button (#3547) * DOC-2578: Spelling error in tooltip for toggle button * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: New `onSetup` function for context forms. (#3550) * DOC-2578: New onSetup function for context forms. * Update modules/ROOT/pages/7.6.0-release-notes.adoc * DOC-2578: General cleanup and structure formatting pre-release. * DOC-2578: New `back` function in `ContextFormApi` to go back to the previous toolbar. (#3558) * DOC-2578: New back function in ContextFormApi to go back to the previous toolbar. * Update modules/ROOT/pages/7.6.0-release-notes.adoc * New QuickbarInsertImage command that is executed by the quickimage button. (#3557) * Image selection was removed when calling nodeChanged while having focus inside the editor UI. (#3556) * DOC-2578: Add known issue for missing translations. * DOC-2578: Incorrect translation of `Cut Column` and `Copy Column` in Hebrew (#3559) * DOC-2578: Incorrect translation of and in Hebrew * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> * DOC-2578: Add new entry for Image Optimizer new plugin announcment. * DOC-2578: Add entry for new premium plugin Image Optimizer in release notes. * Update modules/ROOT/pages/7.6.0-release-notes.adoc * Update modules/ROOT/pages/changelog.adoc * DOC-2578: Comment out improvements for various last min discovered tickets. * DOC-2578: Comment out changelog title placeholders for post release fixes. * Update modules/ROOT/pages/contexttoolbar.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/contextform.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/changelog.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/changelog.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/partials/configuration/tinycomments_reply.adoc Co-authored-by: tiny-ben-tran <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> * Update modules/ROOT/pages/7.6.0-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> --------- Co-authored-by: CODE:AG <[email protected]> Co-authored-by: Farzad Hayat <[email protected]> Co-authored-by: ltrouton <[email protected]> Co-authored-by: tiny-ben-tran <[email protected]> Co-authored-by: Arvin(Jintao) Han <[email protected]> * Update api-version to TinyMCE 7.6.0. --------- Co-authored-by: Farzad Hayat <[email protected]> Co-authored-by: spocke <[email protected]> Co-authored-by: CODE:AG <[email protected]> Co-authored-by: ltrouton <[email protected]> Co-authored-by: tiny-ben-tran <[email protected]> Co-authored-by: Arvin(Jintao) Han <[email protected]>
1 parent d9accbe commit debe7d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1240
-31
lines changed

.api-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.1
1+
7.6.0

antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ asciidoc:
2626
# product variables
2727
productname: TinyMCE
2828
productmajorversion: 7
29-
productminorversion: '7.5'
29+
productminorversion: '7.6'
3030
##### product name in codeblock
3131
prodnamecode: tinymce
3232
#### more names

modules/ROOT/examples/live-demos/comments-callback/example.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ const tinycomments_reply = (req, done, fail) => {
4848
})
4949
.then((req2) => {
5050
const commentUid = req2.commentUid;
51-
done({ commentUid });
51+
done({
52+
commentUid: replyUid,
53+
author: currentUser.id,
54+
authorName: currentUser.fullName
55+
});
5256
})
5357
.catch((e) => {
5458
fail(e);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<textarea id="context-toolbar-labels">
2+
<p>Clicking on the example image below will show the newly configured context toolbar.</p>
3+
4+
{{logofordemoshtml}}
5+
6+
<p>Select a word in this sentence, to see the other newly configured context toolbar.</p>
7+
8+
<p>Clicking on text should not invoke the context toolbar</p>
9+
</textarea>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
tinymce.init({
2+
selector: 'textarea#context-toolbar-labels',
3+
height: 350,
4+
setup: (editor) => {
5+
editor.ui.registry.addContextToolbar('imagealignment', {
6+
predicate: (node) => node.nodeName.toLowerCase() === 'img',
7+
position: 'node',
8+
scope: 'node',
9+
items: [
10+
{
11+
name: 'Formatting',
12+
items: ['alignleft', 'aligncenter', 'alignright']
13+
},
14+
{
15+
label: 'Copy',
16+
items: ['copy', 'paste']
17+
}
18+
],
19+
});
20+
21+
editor.ui.registry.addContextToolbar('textselection', {
22+
predicate: (node) => !editor.selection.isCollapsed(),
23+
position: 'selection',
24+
scope: 'node',
25+
items: [
26+
{
27+
name: 'Format',
28+
items: ['bold', 'italic', 'underline']
29+
},
30+
],
31+
});
32+
},
33+
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }'
34+
});
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<textarea id="uploadcare">
2+
<h1>Discover Your Dream Home on Mallorca: Where Paradise Meets Investment</h1>
3+
<p>
4+
<span style="color: #4e5c73;">
5+
Mallorca, the jewel of the Mediterranean, is not just a place of beauty&mdash;it&rsquo;s a smart investment. With property values consistently on the rise, now is the perfect time to secure your piece of this sun-soaked paradise.&nbsp;
6+
</span>
7+
</p>
8+
<figure class="image">
9+
<img style="width: min(2048px, 100%); aspect-ratio: 2048 / 718;"
10+
src="https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/preview/"
11+
sizes="(min-width: 2048px) 2048px, 100vw"
12+
srcset="https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/100x/ 100w,
13+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/200x/ 200w,
14+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/300x/ 300w,
15+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/500x/ 500w,
16+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/750x/ 750w,
17+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/1000x/ 1000w,
18+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/1250x/ 1250w,
19+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/1500x/ 1500w,
20+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/resize/2000x/ 2000w,
21+
https://ucarecdn.com/b51db038-86df-4a83-bd9d-6942151306d0/-/preview/ 2048w">
22+
<figcaption>Michael Heuser on <a href="https://unsplash.com/@gum_meee">Unsplash</a></figcaption>
23+
</figure>
24+
<p>
25+
Let us show you why Mallorca should be your next home&mdash;and introduce you to an exquisite villa that could soon be yours.
26+
</p>
27+
<blockquote>
28+
<em>"The Mallorca real estate market has grown by an impressive 8% annually over the past five years,"</em> &mdash; Elena Alvarez, Market Analyst at Mediterranean Realty Insights.
29+
</blockquote>
30+
<p>
31+
According to recent market data, Mallorca&rsquo;s property values have experienced steady growth, with an average increase of 8% annually over the past five years. This consistent appreciation, coupled with a thriving rental market, makes it an ideal destination for investors seeking both luxury and financial returns.&nbsp;
32+
</p>
33+
<h2>Explore Our Featured Villa: The Epitome of Luxury&nbsp;</h2>
34+
<p>
35+
Located in one of Mallorca&rsquo;s most exclusive areas, this exquisite villa offers breathtaking views and modern design. Every detail has been meticulously crafted to provide the ultimate in comfort and elegance.
36+
</p>
37+
<figure class="image">
38+
<img style="width: min(2048px, 100%); aspect-ratio: 2048 / 1148;"
39+
src="https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/preview/"
40+
sizes="(min-width: 2048px) 2048px, 100vw"
41+
srcset="https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/100x/ 100w,
42+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/200x/ 200w,
43+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/300x/ 300w,
44+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/500x/ 500w,
45+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/750x/ 750w,
46+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/1000x/ 1000w,
47+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/1250x/ 1250w,
48+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/1500x/ 1500w,
49+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/resize/2000x/ 2000w,
50+
https://ucarecdn.com/ae5a4201-4b82-4238-94e8-78f4cccbffe8/-/preview/ 2048w">
51+
<figcaption>Designed by <a href="https://www.freepik.com/">Freepik</a></figcaption>
52+
</figure>
53+
<ul>
54+
<li><strong>5 luxurious bedrooms</strong> with private en-suite bathrooms</li>
55+
<li><strong>Infinity pool</strong> with panoramic Mediterranean views</li>
56+
<li><strong>Spacious terrace</strong> for outdoor dining and entertainment</li>
57+
<li><strong>Private garden</strong> with lush landscaping</li>
58+
<li><strong>Cutting-edge smart home system&nbsp;</strong></li>
59+
</ul>
60+
<figure class="image">
61+
<img style="width: min(2000px, 100%); aspect-ratio: 2000 / 1121;"
62+
src="https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/preview/"
63+
sizes="(min-width: 2000px) 2000px, 100vw"
64+
srcset="https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/100x/ 100w,
65+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/200x/ 200w,
66+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/300x/ 300w,
67+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/500x/ 500w,
68+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/750x/ 750w,
69+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/1000x/ 1000w,
70+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/1250x/ 1250w,
71+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/resize/1500x/ 1500w,
72+
https://ucarecdn.com/b384b67a-3c73-4629-be5f-07d6a2f49e01/-/preview/ 2000w">
73+
<figcaption>Designed by <a href="https://www.freepik.com/">Freepik</a></figcaption>
74+
</figure>
75+
<p>
76+
Step inside, and you&rsquo;ll find bright, open living spaces that blend seamlessly with the outdoors, creating a harmonious living environment that&rsquo;s both relaxing and inspiring.
77+
</p>
78+
<p>
79+
Owning a villa in Mallorca means more than just having a home&mdash;it means living a life of luxury and adventure. From exploring charming villages to dining at world-class restaurants and sailing the turquoise waters, every day is a new experience.
80+
</p>
81+
<h2>Make This Dream a Reality</h2>
82+
<p>
83+
Don&rsquo;t miss the opportunity to own a piece of paradise. <a href="https://www.tiny.cloud/contact/">Contact us today</a> to schedule a private tour of this exceptional villa and explore other exclusive properties on the island.
84+
</p>
85+
</textarea>
86+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
tinymce.init({
2+
selector: "textarea",
3+
plugins: [ "uploadcare", "code", "link", "preview", "lists" ],
4+
uploadcare_public_key: 'cfef242412638bfc4193',
5+
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist| link uploadcare | code preview",
6+
height: 700,
7+
content_style: `
8+
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }
9+
h1 { font-size: 1.5em; }
10+
h2 { font-size: 1.17em; }
11+
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0 0 0.75rem; }
12+
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 2rem; }
13+
p { line-height: 1.6; margin: 0; }
14+
p + p { margin-top: 1rem; }
15+
a { color: #2b70e3; }
16+
blockquote { color: #4e5c73; font-weight: 200; font-size: 1.3rem; margin: 1rem 2rem; padding: 0 0 0 1rem; border-left: 2px solid #2b70e3 !important; }
17+
figcaption {font-size: 0.875em;}
18+
`
19+
});
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)