Drupal 9 and CkEditor link features - drupal

I have Drupal 9.5.3.
CkEditor 5.
I want to add attribute to links. I want a dialog box to add attributes like the previous version of the editor.
I can't find any module "stable" that i can use. I found Linkit but is a beta version.
Any ideas?

Related

Custom theme showing a white page in ASP.NET Zero

I am currently working on a project in the ASP.NET Zero framework and I am trying to create a custom Metronic theme. I started by copying an existing theme and used the documentation to add a new version of that theme but with a different name.
I followed every step in the documentation and I have also searched in the whole project for the places where the themes get implemented. Everything after this looks ok and I can see the theme in my theme selections.
But the problem is when I chose the theme and save it, then the page won't show anything. I only see a white page. The settings, however, get updated with the correct theme and if I inspect the network tap in the browser, then I see that everything is loaded without problems. There are also no errors to be found. I don't understand what I am doing wrong here.

Deleting a component in Sitecore 8.2 content editor

I've recently encountered an issue in Sitecore 8.2
After deleting the component in content editor. I tried navigating in page editor and clicked the DELETED component.
Now this is where the issue occurs. The options that are usually displayed in page editor are now gone, and after clicking the other components, they all behave the same way.
If I don't click the component that was deleted, then the other components behave normally. This didn't happen to me when I was using Sitecire 7.1 but now that I've upgraded to 8.2 I've recently encountered this issue.
What are the areas I can check? Is this issue known in Sitecore 8?
My recommendations to authors, regardless of version, is to always remove a component from presentation details before deleting any datasource in the Content Editor.
In fact, unless you made a drastic layout mistake, in most cases you should probably not delete the datasource at all.
As of Sitecore 8 editing now has versioned presentation details (Final Renderings). When removing a component from a page in Sitecore 8, you are editing a new version of the page. That new version will no longer have the component displayed. However, all previous versions will still have the component referenced. If you happened to roll back to a previous version, you would need that component. Unless you are removing from ALL versions (or from the shared layout) you probably shouldn't be removing the datasource.

Using image styles with Scald dnd (Drupal 7)

I have been using the Scald module for few months now, with great experience. But there is one thing I haven't quite figured out yet.
When I have Drag'n'Drop enabled for a textarea (with CKEditor) I can drag images into the textarea and it displays in it's original size. If i Right-click the image I get the image properties for the image, but only at CSS level.
I'm trying to figure out how to add an Image Style to the image, so that my 4000x3000 image that I drag into the editor will be scaled down to a nicer 300x200 image where wanted, and therefor save some valuable bandwidth.
I found the answer after a pile of googling and reading through few articles. First and foremost it was the one about installing and configuring Scald. (Please Google, I can't post that many links :( )
I installed the CKEditor module, disabled the Wysiwyg module, downloaded the library into sites/all/libraries/, and finally read this article about contexts with Scald: https://drupal.org/node/2104651.
Bottom line, this is possible, but not easy (as sometimes Scald is), but when you get the hang of it, it's much better than the Media module.
I just struggled with this so thought I'd document how to set up contexts.
This is how you add new contexts which can use an image style formatter as a transcoder using the UI:
Go to /admin/structure/scald and click add context. Choose any name and details, but do check "Make parseable"
On the top of the original page for scald settings click "Contexts" in the upper right for "Image" under "Scald Unified Atom Types"
In the page that loads (/admin/structure/scald/image/contexts) you'll see your new context named. Open the fieldset and change the "Transcoder" from "Passthrough" to one of your image styles, e.g. "Large (image style)"
Now when you right-click on a image atom in a textarea wysiwyg and choose "Edit Atom Properties" you'll get a dialog with a new context to choose from. You can also go the default contexts provided by Scald and change them from "Passthrough" to one of your image styles.
Also, at the moment you also have to apply this change https://drupal.org/node/2046545 to scald.pages.inc or you'll lose your legend as you switch contexts or use the dev version. When 7.x-1.2 is released this will no longer be necessary.
I just ran across this same issue, using WYSIWYG 2.x-dev with CKEditor library 4.3, Scald 1.2. What fixed it was one of these things (sorry can't remember exactly which one):
Both "Scald DnD Integration" and "Scald SAS conversion" enabled in the relevant WYSIWYG profiles
The display settings for your image (at admin/structure/scald/image/display) have atom field set to enabled but image field set to hidden
You want to use the insert image module
https://drupal.org/project/insert
The easiest way to assign image styles to images going into a wysiwyg area

Add style rule dialog box in Visual Studio 2012

Just noticed that Add Style rule dialogue box which showed up CSS-outline is missing in VS2012 or I am missing some changes made by MS?
This is discussed on the MSDN forum here.
As far as I know that the Style menu has been moved from VS2012,
however, you can get the Build Style feature from the toolbar. Go to
View->Toolbars->Style Sheet.
However, you still can't get the "Add Style Rule" option which is
available in VS2010. If you feel it is a very important feature to
you, you can consider submitting one feature request on the Microsoft
UserVoice site here:
http://visualstudio.uservoice.com/forums/121579-visual-studio

Finding documentation in XCode 4.5

I'm very used to option clicking on something in XCode, and then clicking the "notebook" icon in the top right, to bring up the appropriate documentation (see the image below).
Where has this icon gone in XCode 4.5? (i.e. how do I get to the documentation in 4.5?)
If you click on the link in the reference section of the popup, it will take you to the documentation section of organizer. I'm not sure if this is what you are looking for as I have never used the feature pre 4.5. Just tested this on my computer and it worked though.

Resources