Bidirection support for ckeditor5 - ckeditor5

Is there a way to add bidirection support for ckeditor5. I need to be able to change direction for block-level content element. In ckeditor4 there was a BiDi plugin, But I couldn't find anything for ckeditor5. Is there any existing solution available?

There is no support yet.
You can use this 3rd party plugin for basic support.
https://github.com/abedi-ir/ckeditor5-direction

Related

How to add custom dynamic theming in ant design

I want to change the theme of my entire application based on the theme coming from API.
My current implementation:
I used these steps mentioned in Antd Docs which works perfectly for a static custom theme. ( For any change made in the config the server has to be re-run )
This would not fit my current requirement as the app can't be stopped and re-run.
Antd supports dynamic theming
You can follow the official Antd Docs to implement this.
Here is a simple codesandbox to get started.
However if you choose to not to go with experimental approach there is an another way to implement dynamic theming using a plugin.
Check this simple guide to get started
Note: This project is not maintained actively. Use this with caution.

How To Do A Popup Context Menu Like DroneDeploys

How can I include a popup context menu in my app, just like the ones DroneDeploy use?
What's the CSS, JS lib that you use???
I know how to do this using vanilla JavaScript, but I want it to look like yours, to keep the theme in tact!
I've looked at the source and can see you are using Angular CDK's OverlayModule to provide popups.
I'm not using Angular, so I'll have to just style the popup so it looks like you themes myself.
The doc is the best way to follow up in this case. There you can see what's possible or not. Did you see this point? Here you can follow a checklist to apply in your App and build App in Drone Deploy style. You'll need to follow another way to interact with users.

How to develop a webapp which allows the user to add markup to text files?

I need to develop a simple webapp that allows the user to highlight a couple of words in the file (text or HTML) that he can load from the screen, and then right-click and have some options show up to choose from.
When she chooses the option , the text of it is added to the file shown on the screen,right after the highlighted text, inside some parenthesis or similar.
Is Ruby on Rails a suitable platform for developing such an app?
Is Grails more suitable ?
(Assuming similar level of knowledge in Groovy and Ruby)
In both cases, I'd appreciate pointers to gems/libraries I should be looking into for these tasks.
Thanks!
I'm not 100% sure I understand your requirements, but have you considered integrating a WYSIWYG (what-you-see-is-what-you-get) editor into your web app? Something like CKeditor is open-source, and effective.
You could load the file into the editor and setup a custom context menu like described in part 6 of this tutorial. So when the user right clicks in the editor, the custom context menu item could be configured to facilitate the insertion you are looking to accomplish.
I agree with corroded's advice to choose a language/framework you know and can work better in, as you'll be able to achieve your desired functionality through a variety of languages/frameworks.
Best of Luck!
Find a language/framework you know and can work better in. Also, you're gonna need some javascript magicks so I suggest using jquery. Here's a link on how to do your right click action: How to distinguish between left and right mouse click with jQuery
I think the function you describe is more about client user-friendliness than server processing. I think it's can only be done with javascript/jQuery or similar tools.
Same as tmarsden, I think a good way to do that is integrating a WYSIWYG free editor. I have done it before with TinyMCE, by writing a custom plugin for this tool. If you choose using Grails as server technology, you can take a look at TinyMCE plugin for Grails.

How to list extensions installed in my Xul app?

In a Xul app, is there a high-level way to list the installed extensions?
Is the "Add-ons" window available for easy use?
I'm trying to search in the firefox source, but it's a long way... if someone could give a shortcut I would be thankful... :)
Maybe something related to RDF? (not sure..)
Found it, just needed to open the url: chrome://mozapps/content/extensions/extensions.xul from my javascript.

Is it possible to modify Adobe Air's WebKit settings in the mx:HTML component?

Adobe Air's (read: Flex) mx:HTML component uses WebKit to render webpages. As such, does anyone know of a way to tweak WebKit's settings via the Air application (or a Flex API)? For example, I'd like to set WebKit's "enable-private-browsing" setting from "false" to "true".
That would be very interesting.
Sadly, judging by the source code of the HTML component and the AIR documentation, it doesn't seem that there's any way to do so.
Maybe something to propose to the Flex/AIR team on JIRA for the next version.
Since it's not possible, I've logged a ticket here: bugs.adobe.com/jira/browse/SDK-25585 Let's see what happens.
For standalone application (e.g. stand for exhibition) you can build your own WebKit.