I am using CKEditor in my vaadin application. I am having issues where the CKEditor is not showing asterix symbol for mandatory fields even if required field is set to TRUE.
Related
Vaadin Framework Version:
23.1.7
Issue
I'm building up a web application using Vaadin. In the view I added a Grid and set
grid.setSelectionMode(Grid.SelectionMode.MULTI);
I also added a FilterField, that filters the GridListDataView.
The Multiselect and the filter working fine, each for it's own. But when I try to Filter the grid, then click the "Select All" Checkbox in the header column all rows in the grid are selected (also those, which are currently not visible, because of the filter.
In fact, it's exactly the issue mentioned here: https://github.com/vaadin/framework/issues/10595 , which should have been fixed by vaadin 8.9.0, but I'm still/again facing this issue.
Question
Is there any known way to work around that and get only those items selected that are currently visible?
I created a custom config file for CKEditor using a yaml-file as suggested and registered it in my extension for my custom elements.
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['custom_rte'] = 'fileadmin/templates/css/custom_rte.yaml';
This works fine as long as I'm in the default workspace.
When I switch to the draft workspace and save an element, the config is lost and I get the default Toolbar, without my custom css and buttons.
Any idea what this could cause?
Typo3 8.7.15
The solution was actually pretty easy.
I had to set the default preset for the CKEditor in the extension, instead of using the custom one and then set that in the Page TSConfig.
So this works (in ext_localconf.php)
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'fileadmin/templates/css/custom_rte.yaml';
That way the CKEditor always uses my custom yaml-file. No Page TSConfig needed.
Am trying to integrate CKEditor in a ADF popup which is in a page fragment using JSP Tag Libraries.
Am using JDeveloper 12.13 version.
Here is the code am using in a popup which is in a subform.
<cke:editor basePath="/PLS/js/" editor="editor1" value="Type Here"/>
Am getting below error
java.lang.IllegalStateException: Could not find component to stream
at oracle.adfinternal.view.faces.streaming.StreamingDataManager.submit(StreamingDataManager.java:519)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:4047)
Getting this exception with different Content Delivery modes(immediate, lazy) for popup. I have also tried declared ADF RichText Editor and replacing it with CKEDitor replace tag.
Does anyone has idea why CKEDitor is not working in ADF Popup.
Does your var rt1 and rt2 return any values or are they undefined? To search for components in ADF page , you should use javascript as defined in links here and here .
You can also refer the oracle documentation here for using ADF client side Architecture.
Instead of a popup i have implemented CKEditor in a separate task flow and used that as a region in my main page by invoking that task flow as inline-popup dialog. This resolved my issue
I want to disable advance content filtering in CKEDITOR. I tried some thing like :
allowedContent = true
It is not working. I want to stop converting onclick attribute into data-cke-pa-onclick, which bind with custom DOM (which i have added in ckeditor dynamically). I am working with angularjs and want to call an angular method from onclick event.
I am using CKEditor to provide a WYSIWYG for one of the fields I am storing in the database.
There are records marked as deleted and so editing them is forbidden. I managed to disable all the input fields inside my form by adding the disabled attribute on the fieldset element. This approach however doesn't disable CKEditor.
I'm not sure what version this got implemented but on CKEditor 4 using
CKEDITOR.config.readOnly = true;
seems to solve the issue.