I am trying to add an icon on ui tabs when validate fails.
Which method should i use (option is my guess).
Can anyone help me.
Thanks
How about have transparent or hidden icons (e.g. using background-image) to all tabs by default.
Use the validator to change the icon via css/class rather than adding/removing?
Related
I was just wondering if it was possible to have a nativescript prompt dialog select all of the text upon opening without going so far as to create an entire custom dialog. I don't see any settings when creating it, but I was wondering if someone knew of a way to do this?
Thanks in advance.
The native dialog controller or the UI components inside are private to the dialogs module, not exported for public use. Hence you will need a custom one in order to operate on the textfield.
We are using sap.ui.commons.Image control in our project and we need to set a font icon as the source.
The sap.ui.commons.Image is used in multiple places and are used in composite controls as well. However, we need to use icon-fonts as the source to the control. We could set SVG/PNG to the source and it works fine. However, we need to use icon-font.
Can anyone help?
<c:Image src='sap-icon://add' />
You will either have to download the icon and store it in your project
Or use a control that has an icon property for example a button or icon tab
I create a page with multiple tabs.
On one of my tabs I want to use CKeditor on a textarea, so when I display my table I call:
editor = CKEDITOR.replace('MyTextArea', MyOptions );
I have the UI of the editor but when I click on the text area nothing append, I can't edit it. The solution for access to the text area is to use "tab" for accessing this field.
I try to put a default value and I can edit if I click on the text but if I click elsewhere in the area I cannot edit.
I have this problem for IE10 and I need it works on it. It's working on Chrome and Firefox. I use CKEditor 3.6.1 and I cannot upgrade it.
Thanks
The problem was the z-index of the container of my textarea, I change it and it works.
As CKEditor documentation is really poor, I couldn't find an answer to this question anywhere.
Is it possible to configure CKeditor so that toolbar would be draggable in inline editing mode?
I'd like to be able to move it around.
If so, how is it possible to set that?
Thanks!
There's no such option available by default. However, you can achieve that by placing toolbar in your own container and adding a drag&drop handler to it, for example using some jQuery UI feature.
To be able to move toolbar to your own container you need to use the sharedspace plugin (build CKEditor package with it) and set the config.sharedSpaces option as is described in the so poor documentation.
I feel a little caught between a rock and a hard place here. I want to use Firefox's built in spell checking without disabling Ckeditor's context menu as this renders it impossible to work with tables. Is there a way of getting the best of both worlds here?
You could try setting the disableNativeSpellChecker property to false - it should then be possible to see the native spell checker markings within the editor - however for me I couldn't get this to work in Firefox, only Google chrome.
You can then hold the ctrl key down when you right click to show the browser context menu (provided browserContextMenuOnCtrl has not been set to false)
HTH.
Use the browser's default contextmenu for right click action, then you don't need to press Ctrl to shoe the browser's default context menu.
config.removePlugins = 'scayt,menubutton,contextmenu';
Enable the built-in spell checker if the browser provides one.
config.disableNativeSpellChecker = false;
hi there you can disable it by going to
Ckeditor>File Editor.then make sure you're editing the ckeditor.config.js file!
then add the two lines at the bottom (after the }; tag) add the two lines like below!...
**> CKEDITOR.config.disableNativeSpellChecker = false;
CKEDITOR.config.browserContextMenuOnCtrl = true;**
then save it..........
when writing in ckeditor a red dot underline will appear if your spell is incorrect!
when you right click the ckeditor's context menu appear.....but when you Ctrl+Right Click the browsers default menu appears....thanks..........
Use this plugin: http://martinezdelizarrondo.com/spellcheck/ and as it's stated, you have to install the WriteArea extension in Firefox.
Have you tried to enable SCAYT (SpellCheckAsYouType) in CKeditor? It is buit-in there and works as a plug-in.