I've used TinyMCE in the past but I've been away from it for a while. I set up a page with the basic implementation from the dashboard on tiny.cloud. It works great with one small exception.
The text editing area is closed when it loads. They only way I can get it to open is by adding the tinycomments plugin and clicking add. When I do so the text from the underlying textarea element shows in the editor as expected. The text editing area displays as long as the comment editing box is displayed.
I've dug for a setting to change this behavior but was unable to find it. I've also tried removing plugins and toolbar and stripped it down to just the 'selector' tag. Results are always the same in Firefox and Edge.
Can anyone help?
Related
I want to understand what changes are made to the html of a webpage when I use an image carousel. When I go to the next image in the carousel the html of the page updates. I would like to get a copy of the updated html so I can run diff and compare the changes to the original html.
I am interacting with the webpage through Chrome but only have access to the publicly-available source code at the moment.
I have been using Chrome's Inspect Element panel. In the 'Elements' tab I can see the html changing when I move the carousel to the next image. Despite watching the html update in the 'Elements' tab, each time I try to save the html I can only save the original html at best. Here is what I've tried:
Open 'View Source' and save the source. In hindsight, I realised this fetches the source code fresh instead of loading the source code of the current view I'm looking at.
Save the page directly from the page I'm on.
Go to the 'Sources' tab in 'Inspect Elements' and save from there.
Try to save from the 'Elements' tab directly, but I cannot figure out a way to do this. There is no save option and I cannot select the text to copy and paste.
I've tried Googling and found related-sounding headings but these contained unrelated content.
Tried Firefox's Inspect Element, which at appears to be built on the same functionality. I wonder if it's built on the same engine?
I am using Chrome 84 on Linux Mint 19 but I would be willing to use a different browser or other application that would work on my system.
I hope this is the correct Stack Exchange for this question. I initially looked at webapps.stackexchange but that didn't seem as good a match once I scanned through other questions.
In the 'Elements' tab of Inspect Elements right click on an html tag, for example <html>, and select 'Copy OuterHTML'. Paste the selection into a text editor.
This works with both Chrome and Firefox. Firefox also gives the option to 'Copy InnerHTML'. The difference between the two is that 'OuterHTML' copies the opening and closing tags while 'InnerHTML' only copies the contents within the tags.
So when using Qt to build user interfaces, you all know that .ui files (forms) open in Designer mode by default, and that if you manually switch back to the Editor, then this message appears "This file can only be edited in Designer-mode".
Well, for some reason, and at some point, my file now opens BY DEFAULT in the editor, and the message does not show up. Worse, when manually switching to Designer mode, the main editing field is gray and empty and none of my stuff shows up ... Also no scroll bars or anything.
EDIT : actually, it is whichever form was loaded last that appears. And it is editable and all ... only the drop-down menu with the file name clearly indicates that it is MY file that is opened. When I perform an edit, then the edit is performed to this same last-opened form, and is reflected upon compiling. My display remains unchanged to the state that it had the last time that I was able to open it in the Designer.
EDIT : Also, along with the fact that my .ui file now opens by default in the Editor, it is also editable there like any other source file. But edits don't seem to bother, I modified some stuff or added gibberish, and it never showed after compiling nor did the compiler ever complaine ...
What's going on ? What did I do ? I have no crash nor any recent weird events to report ... It just suddenly started happening.
Thanks in advance for any clues,
Charles
In Chrome's developer tools, the console displays clickable links pointing to specific lines in JavaScript source files, such as where an exception was thrown.
Upon clicking such a link, the respective file is automatically opened and the line in question is scrolled into view. Furthermore, this line is highlighted with a yellow background ... for a moment. This highlighting quickly fades away. I am working with huge bundled files, and by the time the bundled file is displayed, the highlight sometimes has already completely disappeared.
How can I prevent this fade-out effect, in order to gain more time to do something with the line while it's still conveniently highlighted?
I'm having a strange problem when loading my app on IE8: on the first page load, the application is loaded, but nothing is shown on page (blank page). The strange thing is that when i move the mouse over textbox or links, the cursor changes, seaming that every element is invisible.
If i hit refresh, the page is drawn correctly. I have tested on a windows XP, on virtual machine, IE8.
On IE9 also works fine.
This issue appears in the compiled code (production mode). I believe that the problem is a the code size: the initial download is 700KB, and then another fragment is downloaded (800KB), although the page is not visible at all after the initial donwload.
EDIT:
I just made a few tests: i cleared the onModuleLoad method and added just a label and a text box. They are being displayed correctly. So doesn't that mean that there is no problem with the settings (html or .gwt.xml file)?
I managed to solve the problem by including at least one tag for my stylesheets. All of my css files were loaded in my .gwt.xml module, none in the base html file. So, it's a very strange workaround for IE8 where the page is displayed blank (at the first load) if it doesn't contain any css tag in the html file.
I've been working on this for the last couple hours. I placed the following code into the textbox Border Width Property (this applies to a table not a matrix):
=IIF(Fields!SortOrder.Value = 2,"3pt","1pt")
Once I click OK on the expression editor and OK on the Text Box Properties editor, I can go back into the properties, and the Border Width property is again set to the default 1pt.
After playing around with it for a very long time I finally started getting the text box to behave the way I wanted, but the property was still set incorrectly. However the XML of the report showed it being set with the above expression. So SSRS wasn't properly parsing the XML until the run-time of the report (at least that's what I'm assuming). I have been able to set the Bold property on the same text box and all other text boxes within that row. However, all of the properties in the Border section of the TextBox property list seem to reset themselves. I've only had on occurrence of the report actually doing what I wanted (as mentioned above), but the property displayed through SSRS was still incorrect. I guess I need a way to trigger SSRS to reprocess the XML.
Things I have tried:
-closing and reopening report
-closing and reopening solution
-closing and reopening Visual Studio
-restarting computer
I have found the answer!
I was getting to the properties by right-clicking on the Text-Box and selecting "Text Box Properties". However, if I open the properties side window (View->Properties Window... or press F4), I see all of the properties I was setting via XML.
Basically, there are two places to find the properties and you want to go with the side-bar one. The right-click menu appears to be a simplified set of properties.
I was able to set specifically the width of the top border for a set of text boxes and I got the look I wanted. Thanks for anyone who looked at this and I hope this helps anyone else who has a similar issue.