-
-
Notifications
You must be signed in to change notification settings - Fork 26
Bugfix: Use TinyMCE getContent() to get editor contents on save #656
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
Conversation
38dca23 to
d3a11c0
Compare
|
Thanks for this. I've simplified the access to the tiny instance on a mosaic tile, since the code was already there. Can you take a look at this? |
d3a11c0 to
10dcd20
Compare
thet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questions for @petschki
|
Oh, I actually wanted to "Request changes" instead of approving. But if you solve the one valid problem, it's good to go. |
|
@thet @frapell I've refactored the panel/tile initialization for simpler access to now when saving/bluring a "richtext tile" the Note: I've noticed, that the |
thet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@petschki tnx for the code improvement!
LGTM except one minor suggestion added.
I already approve so that this doesn't get blocked.
can we apply these changes to 3.1.x also?
Co-authored-by: Johannes Raggam <[email protected]>
|
@frapell can you check this and confirm, that your mentioned usecase is solved with that? |
|
@petschki @thet I tested this branch with Will look exactly like that when viewing the saved mosaic. This is not the case for the 3.1.x branch, as I explained in #657 not sure if it is me? BTW, to test this in a fresh site, you need to go to the tinymce configuration panel, then to the advanced tab and add Also, need to go to the |
|
Here's the result from my tests with Scenario:
Here's the result with master branch: interestingly, also the markup for the tinymce resizing UI got saved into the markup (because the iframe was selected inside tiny) And the result with this fix here: The markup got the cleanup form @frapell I've also tried that with I'll merge this now and checkt the |


@petschki So, apparently the fix I did here was lost because around that time it was the ES6 rewrite happening...