Closed RonB closed 8 years ago
@RonB I believe you might have a zIndex higher than the one of the editor. Could you please send us a link to the page where you have this problem via our contact form?
@stefanneculai Yes that is correct. I use the directive in dialogs, which can stack over each other. Now I need to set the z-index of the dialog to 3 or less, otherwise the toolbar is invissible. As the z-index of the (ng-)dialogs can increase, a value of 3 or less is not an option. Can you not specify a dynamic index wich makes sure the toolbar is directly above the z-index of the directives element?
Unfortunately, that is not possible.
wow... any thoughts on this normal use-case?
You could set the zIndex
option of the editor to a high value. Doesn't that work?
The trouble is I dont know what value because the general code is the same for each dialog so I would need to keep track of the number of dialogs. I'll give it a try though. Thanks for the quick response.
You could just set a higher value, like 9999
, maybe.
Tried it and it works fine. The scenario where 2 editors interfere is not very likely. Thanks again.
If I may ask another related question, can you explain why the toolbar with zIndex 9999 now is visible, but the specific toolbar for table editing is not?
It might be an issue from our side. Could you please send us a link to a page where you have this problem? It appears this is a problem very specific to your app, therefore please contact us via our website: https://www.froala.com/wysiwyg-editor/contact.
Hi Stefan,
It seems like the problem has to do with ngDialog. The zIndex param works but only for the primary toolbar. [https://plnkr.co/edit/U5NCfM?p=preview]
In the plunkr you can see the problem when clicking in a cell. the table toolbar is lying behind the dialog.
I can see that you're using an older version of both the Angular plugin and the editor. Does this happen with the latest V2.3.4 version as well?
I have updated the plunkr to 2.3.4 and also pasted the last src from this master branche. I cannot see any difference.
That appears to be a problem from our side. We'll review it shortly.
@RonB last commit should fix this problem. Could you please check?
Hi,
I am using these options in the controller:
$scope.froalaOptions = { toolbarInline: true, toolbarVisibleWithoutSelection: true, language: 'NL', toolbarButtons : ["bold", "italic", "underline", "|", "align", "formatOL", "formatUL"] }
HTML
<div froala="froalaOptions" ng-model="record.data.inhoud"></div>
I see the quick insert button, I can type text, but the toolbar is not visible when I make a selection. Any idea whats going on?