React-admin tinymce - how to get content? - reactjs

I'm an experienced Javascript developer, but new to React, so I'm looking for a bit of help.
This sandbox demonstrates the issue:
https://codesandbox.io/s/distracted-banzai-i46eg?fontsize=14&hidenavigation=1&theme=dark
If you edit one of the posts, (and dismiss the TinyMCE license alert), you'll see the original content and can edit it.
When you edit the text,the new content is passed to the handleEditorChange() function in posts.js, from the custom rich edit component. (Sometimes you to tab out of the rich text for this to happen, which I'm not worried about).
However, if you save the change, the original text is POSTed to the dataprovider (as per your developer tools network tab), which implies the form record is not being updated.
How do I get the form record set to the new value from the editor?
Any help is much appreciated!
Regards,
Andy

Related

The wagtail example of using entities isn't working for me

The Wagtail example of using entities as given in this page of documentation isn't working for me. I am following the third example of using Entities which is supposed to create a button for stock price but no button is appearing for me in the rich text field in the admin editor. I have created a minimum reproducible example which demonstrates just this problem. https://github.com/kiwiheretic/stockentity. I am using Wagtail 4.1.1 which I understand is the latest version.
Can anyone help me see what I have missed and why the button doesn't appear as expected?
This or a similar question was asked in the Wagtail Slack. To get the button to appear, it either needs to be included in the features list when you create a new RichTextField OR you need to add it to the default configuration using the WAGTAILADMIN_RICH_TEXT_EDITORS setting.

Trouble editing an Elementor post page

I'm currently an intern with little Wordpress experience. I have to to make the website more 'modern' and I've stumbled upon the blog page. I decided on using the blog element. It works well, but when I want to edit the blog page, I stumble on an issue.
I know how to disable reactions but can't find any option where to disable the meta data and author. I also can't edit the image size (Also seen in the screenshot below). I also don't know if it's possible to change the style on the post title, since whenever I click on it, it doesn't give me the options to change its appearance like every other Elementor element.
Are these options I'm looking for not a feature, or am I looking at the wrong place?
Screenshot of the post page. Highlighted elements are the featured image, meta data and author.

How to refresh AEM component in Author view after Edit?

Am new to Adobe Experience Manager. Your input on below question is highly appreciated!
All I am trying to do is: Refresh author page after making an update to AEM component. The component is built with React.
Open the component dialog
Change the value (for ex: Label)
Click done from dialog
Am expecting author page to load automatically
Please share your inputs. Thanks a lot!
The component doesn't refresh the entire page on save unless you explicitly configure it to. You can probably make use of the cq:editConfig for that. The cq:editConfig needs to have a child node cq:listeners with the property afteredit. Sample structure below
Some info around the edit config can be found in this blogpost.

HTML Page from selected row in Spotfire

I have come across a requirement that is already available in the current tool and they expect it to be implemented in Spotfire as well.
Requirement: Once data is loaded in Spotfire and they click on a row, there is a button "View in Web" that will render that selected row in a beautiful static HTML page in a new window.
My Logic so far: I'll store the column values in variables using ironpyton as explained in https://techgoje.wordpress.com/2014/12/02/spotfire-ironpython-accessing-column-values-in-script-context/ and then i'll render those values in HTML page
Any suggestion or help is greatly appreciated.
I have never tried to open a popup or new window in Spotfire. my guess is that you could do it in the Web Player, but it may not work in the thick client.
I've created an example DXP that shows how IronPython and Javascript can interact to render HTML content in a textarea. this may be a good solution for you.
(NOTE: you will need to trust all of the IP and JS scripts in this document!)

DotNetNuke edit navigation bar

Is there a decent way in DNN 7 to modify the navigation block at the top? I am completely lost.
I am using the "Awesome Cycles" content as a template for a class project. All I am trying to do is change out the word "us" in the navigation at the top for the word "me".
I'm sure there must be an easy way to do it, but I don't think I "speak the language" well enough to google this. I have been literally searching for three days, and I know I'm going to feel stupid once someone points it out but... Oh well.
Thanks in advance!
You are correct that you can simple change the Page Name in the page settings to control what displays in the Navigation. But be aware that changing a page name also changes the URL of that page.
Check out this video for how to avoid bad URLs after changing pages
http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/213/View/Details/Renaming-a-Page-in-DotNetNuke.aspx
tl;dr - create a new page, with the old name, make it hidden (not in the menu), and have it redirect to the new page.

Resources