Hi there,
if someone trips over this post, please have a look at the solution I posted in a newer thread:
https://www.sencha.com/forum/showthread.php?470594-Integrate-TinyMCE-in-GXT
Best,...
Type: Posts; User: Holger Herrmann
Hi there,
if someone trips over this post, please have a look at the solution I posted in a newer thread:
https://www.sencha.com/forum/showthread.php?470594-Integrate-TinyMCE-in-GXT
Best,...
I figured it out and want to post the code here in case someone wants to do the same:
First, include the tiny sources in your html file:
<script type="text/javascript" language="javascript"...
Hi everybody,
there is an example for how to integrate TinyMCE in GXT (https://www.sencha.com/forum/showthread.php?44152-Integration-TinyMCE-in-GXT).
Unfortunately, this doesn't work for me for...
Hi everybody!
I know this is a quite old posting. For now, I'm trying to integrate the current version of TinyMCE (which is 4.8.2) in our GXT application (with GXT version 3.0.7).
Unfortunately,...
Yes, I did. I have created a component that consists of a container for the images and a label on top of this container. When you want to insert a screenshot, you have to click into that field and...
Bad luck: next issue is that the pasting doesn't work after I have pasted some text before.
That leads me to the conclusion that handling it this way is no proper solution. Also, I can't see a way...
It seems as if I've found a solution!
First approach was to resize and reposition the additional div the same way as the textarea. I got that running, but the next effect was that when I called...
No problem, I will write a sample and send you an email soon.
The problem is indeed, that when we resize and reposition our components on the mask, we say
component.setPosition(newX, newY);
component.setHeight(newHeight);
component.setWidth(newWidth);
...
I found out why the DOM structure is changed when we add the handler. It's not the handler itself, but the paste.js plugin does it. Have a look at the changed DOM when the handler is added:
55400
...
I also couldn't believe that, and that's why I tried it a couple of times. As soon as you add the handler to the component, the DOM structure of the text box changes.
That's basically quite...
It seems as if adding the paste handler adds an additional dif (with strange positions).
I have modified the example project and added a second text box without paste handler:
public class...
Pasting text worked with this. For pasting images, I had to add these lines to the method addPasteListener:
$wnd.$(el)
.on('focus', function() {
}).pastableTextarea().on('blur',...
Thanks, will do so.
Hi,
I've added the project "JqueryIncluder" to this post. You will have to add the libs gwt-servlet-2.5.1.jar, gwt-user-2.5.1.jar and gxt-3.0.7.1.jar to the lib file.
The application starts a...
Thanks for your answer.
I call addPasteListener(getElement().getId()) in the constructor of the component.
Will set up a small test project to try it out.
Hi there,
my request is to be able to paste an image into a random component by using Ctrl+V. There is a jquery plugin which does so (https://github.com/layerssss/paste.js).
For that I would...
Hi Jack,
did you find a solution for this problem?
Best,
Holger
Interesting: Today I noticed that the solution I posted a year ago does not work (any more?). Perhaps the problem returned with a gxt update.
However, I had to add this method into MyCheckBoxCell:...
Hi jack83,
have a look at the PortalLayoutContainer. There is a method onPortletDragMove, in which the target (portal) column an the row are calculated (methods getColumn(.) and...
Showing the scroll bar in the middle column could be ok, too.
I wanted to say that there is a scrollbar in the middle, but it is always without function (disabled). Instead, an additional scroll bar...
Hi,
we are validating the entered text in a date picker by overriding the onKeyUp method. Perhaps it's the way you read the entered text that doesn't show you the current text.
Try this:
...
Hi Andreas,
thank for your answer.
I have tested something similar (setting the scroll mode to ALWAYS for widget 1).
That had the effect that there were scrollbars in the middle portal column....
Hi there,
I have another problem using the GXT portal layout.
In our application there are three portal columns. The middle one contains very many portlets (which represent activities in a...
Hi Andreas,
thank you for your answer.
Yes, adding a FlowLayoutContainer is exactly what I do:
I wondered why it's implemented this way as I suppose adding more than one widget should be the...