When adding an image to TinyMCE is there a way to get the editing area to expand down automatically? - tinymce

When I add an image to TinyMCE the image gets added ok, but it is severely cut off in editing view until you manually expand the editing window by dragging the bottom-right.
Is there a way to get TinyMCE to automatically expand as needed when adding images?
Thanks.

I found the autoresize plugin docs and tried it and it works for my purpose now, because when editing the area initializes to show the entire content. I see there are other options for this as well here: https://www.tiny.cloud/docs/plugins/opensource

Related

Can't edit text on Google Web Designer after I've played with keyframes

Normally I can select the layer I want then select the text tool and edit it but for some reason, after putting in some key frames so the texts fades in and out I can't seem to select the text to edit.
I've locked all the other layers so only the text layer I want to edit is editable but I can't change it. All I can do is move it about.
I know this question is old but for future searchers - I think this is a bug so I don't have a "solution", but a workaround.
To make a change to your text:
Switch to 'Code View',
Search (ctrl + F) for your text
Change your text
Switch back to design view
This is a hack, but its the best option - especially if you've already invested lots of time into this and now find yourself stuck.
Okay, I figured out the actual bug causing this and have a solution that is less of a hack. The reason you can't select text is because there are visible layers above your text layer blocking your click. You would assume that if those visible layers are locked, you can click through but that isn't how Google Web Designer works (right now).
So, make all layers invisible, then make just your text layer visible and then you can click to edit it.
I have encounter this problem when editing a template. I could only edit the text of first layer... In order to edit the second layer text and so on you must hide the fist layer.
I have just found out there is another way: Try to copy all layers to a new document with the same preferences. sometimes it`s rather easier than change the code

Image resize handler visible outside of tinymce editor area if image is bigger than editor in IE

I'm using tinymce 3.5.8 version. In IE8 when i am adding the big images the resize handler comes out of the editor.please help me.
Had the same problem. The solution is to set the unselectable attribute to images.
I do this on image insertion and editor init:
$(ed.getBody()).find('img').attr('unselectable', 'on');
Before saving my content to db i remove the attribute.

JQuery Mobile Custom Select Menu is visible when unselected

I was having the same problem as this question:
jQuery Mobile 1.1.1 Custom Select Menu - Placeholder Text not Visible
The above question solved my problem by telling me to use 'http://code.jquery.com/mobile/latest/jquery.mobile.min.js'. That solved my original problem but caused another.
The select menu is always displayed and doesn't center on the select item like it did before.
After:
Does anyone know how to fix this. I think I might be able to hide and show the menu if that was the only problem that I was having, but even when selected it is not in the right position. It should be centered over the select element both horizontally and vertically (if given enough vertical space).
This is caused by the latest release of JQuery, but I also can't download 1.1.1 because it causes the original problem that I had which was solved in the other question.
Looks like the menu is displaying relative to the rest of the content - Try adding a css line on there
position:absolute;
on the menu structure - Another good way to test this would be to load up your site in google chrome and use firebug to see why the menu is positioning lower than the "click point." Just on glance it appears that the menu is appearing relative.

How to Place the background image scroll upwards while editing (adjustPan/adjustResize)

I have Struggled with the following issue..
I need an Activity Which have an editbox and a chekbox below it..These are placed at the bottom of the screen...I have a background image for this total screen..I need scrolling of the totalview(background image along with edit and check boxes) while with presence of softkeyboard...
At start It was looks good..But at the time of editing the image is Resize(shrink)/the image is overlapped by the edit & check boxes with adjustResize in manifest option...with adjustPan I could get something of requirement but the check box was still behind the Keyboard...I much tried with Scrollviews and include layout options but couldn't get the required....
Could anyone Suggest me anything regarding this..
At last I found some trick to get out of this....what I did was instead of using scrollviews...etc...just I scroll the Parent layout (ScrollTo(x,y)) to some extent upwards...Which works fine with me...

Why would a link in a UIWebView leave a gray box behind?

I have a UIWebview that I am loading with custom HTML using loadHtmlString. My HTML has a link that I intercept when tapped so that I can take control and reload the UIWebview with a different HTML string. The code works, but the area where the link text was located is replaced with a gray rectangle that is visible when the new string is loaded.
What could be going on here? How can I get rid of this behavior?
//Scott
Here it is...need to add this style statement to the link reference:
<a href=http://yourlink.com/ style = "-webkit-tap-highlight-color:rgba(0,0,0,0);">
Setting the alpha value (the last parameter to rgba) to 0 disables the tap highlight color.
Although this works, it feels like a hack. I really think the tap highlight should clear itself when my second loadHtmlString reloads new HTML code.
//Scott
You could add onclick="this.blur(); location.href=this.href;" to the link to remove the focus from the link.
I'm sure there's a better less hackish way, but this should work