Changing the color of django specific tag braces in visual studio code - visual-studio-code

Using the instructions in this existing answer, I have managed to almost get the effect I want.
Below is the image showing the template scope for "{% %}" in Django.
However, in the screenshot, you can see that the only tag that has changed color is the "{% url %}" tag, and not hte bright yellow "{% %}" tags.
How can I change these specific tags to match the url? I'm at a loss as I've changed the template scope setting for the given value, but it's only changing the URL tags.

Be sure to check that you don't have Bracket Pair Colorization enabled, as this will overwrite any custom colours you have defined!
Go to your settings, and search for "Bracket Pair Colorization" to make sure you have it disabled, as disabling this might solve your issue!
Screenshot of the setting radio button

Related

What does the light text mean in the chrome CSS debugger in the devtools?

A screenshot of a piece of the CSS debugger that comes up in the developer tools:
This answer describes what the strikeout means: "the crossed-out style was applied, but then overridden by a more specific selector, a more local rule, or by a later property within the same rule."
What does the light text mean? Where is there official documentation on this?
Dimming indicates this property is not inheritable per CSS specification, i.e. it doesn't apply to the inspected element.
The dimmed declaration applies only to body in your screenshot.
Your screenshot says "Inherited from body" which means body is the ancestor of the inspected element and its non-dimmed properties are inheritable e.g. font-family or color. Those of them that aren't crossed are actually inherited by your inspected element.
P.S. A list of all inheritable properties: link.

Unable to add anchor link <a id=""></a> on RTE AEM

On the custom component we built, we are not able to add <a id=""></a> in RTE by adding anchor. However, anchor link works fine on template level, but not WCB edit mode.
I compared CRXDE Lite between page and template and the only difference is the tag:
As you can see in the second screenshot, tag is not able to get generated when anchor link is configured. I tried to manually add to CRXDE Lite on the node, then anchor link shows up on the page. So I am guessing there might be some JavaScript code that prevents the to get generated.
What makes it strange is that for both template level and page level, they are using the same richtext component. Why would anchor show different outcomes?

How do I replicate the tinymce link plugin's HTML markup behavior by adding succeeding text outside of the current node instead of inside?

When the user adds a link on selected text, it adds the URL markup only on the selected section and doesn't add the markup to any added text (after the markup is added) if the linked text is at the end of the string. This behavior differs from bold/italics/underline which adds added text to the bold/underline markup if the user adds more text at the end of a string.
I am implementing a custom button that should emulate the behavior of the link plugin. I have gone through the link/plugin.js file to no avail for which code block I need to re-use to get this behavior for my custom button.
How do I implement the link plugin's markup behavior? Are there any tinyMCE commands I should be using (setAttribs, etc)?
Video example of bold vs link plugin

How to change the background color of the Settings page and not the Editor?

How do I change the background color of the Settings page, not the Editor, but the Settings page? I know it probably involves changing a workbench.colorCustomization token, but I don't know which one it is or if it even exists. Also, is there some sort of extension that allows you to inspect the UI elements/icons of VS Code?
I have already tried changing the editor.background token, which applied to not just the Editor, but also the Welcome and Settings pages. I was able to change the background color for the Welcome page using the welcomePage.background token, but I don't know how to change it for Settings.
I want the Settings background color to change so I can see it better.
It doesn't look like you can. If under workbench.colorCustomizations you type settings you will get the list of available settings page items of which you can change the color.
Perhaps one or more of the foreground colors to change the text color will help you.
The Custom CSS and JS Loader may allow you to change the color of the settings page. You can inspect vscode's elements by Help/Toggle Developer Tools to find out what element you need to target with that extension.
<div class="settings-editor " or a child of that. Set its background-color to what you want using that extension.

Form field not visible in IE8

I'm working on a website template and Internet Explorer is giving me a headache since I'm unable to display the search form field and button correctly. z-index in CSS is not doing much either.
By the way, how can I move the input area after the loupe icon?
Check the website here:
http://gabrielmeono.com/yonature/
Chrome:
In IE8:
Three things:
IE8 does not support border-radius, which is being applied to that field.
Your CSS references a file that's missing, border-radius.htc which is for adding rounded corners in "all major browsers other than IE."
You should be able to add a left padding value on the field to force the text further to the right. It may be safer to make a white, rounded container and position the search button and text field within it.
Edit: I was wrong; the border-radius (curved-corner) file should work for IE6-8.