Quantcast
Channel: Active questions tagged text-editor - Stack Overflow
Browsing latest articles
Browse All 67 View Live

How to use Quill Text Editor as a component in Vue3

1 - Installation NPM / Yarnnpm install @vueup/vue-quill@latest --save # OR yarn add @vueup/vue-quill@latest2 - Usage in componentimport { QuillEditor } from '@vueup/vue-quill'import...

View Article



Image may be NSFW.
Clik here to view.

Add horizontal padding to TextEditor but prevent it from shifting scrollbar...

I'm using a TextEditor that I'd like to include horizontal padding for, so that the text doesn't stick to either edge. However, the problem is if I include it, and the text within is scrollable, then...

View Article

How to change the first two uppercase characters on each line to lowercase in...

I have the following text:HELLO TO STACKOVERFLOWWELCOME TO STACKOVERFLOWI want the text to be changed as follows:heLLO TO STACKOVERFLOWweLCOME TO STACKOVERFLOWHow can I do that in Vim?

View Article

In VSC and other apps, when i scroll the text becomes black and turns normal...

When i open up VSC and other apps the text on the editor, extension page etc. turns black and reappears after a very short time. This issue is not version related as i have this for over 6 months....

View Article

pascal case custom html tag in Quill js

I need to have a custom HTML tag in Quill js that is in Pascal case.But at the time of insertion, it becomes a lowercase.for instance:class MyCustomDataTag extends Embed { static create(param) { const...

View Article


Is there a way to make sublime as core.editor (git) on Mac

I have researched back and forth on this issue and so far nothing has worked. I'm unable to open sublime while using git using a command such as sublime. or sub.I have used another command on git but...

View Article

How to write a text editor in Win32 API with file save and file open dialogs

I'm currently working on a text editor with the C++windows.h built-in GUI libraries.Every time I try to save the file, or open a file and display it to the window, it returns an error, or the open file...

View Article

vi to delete from the beginning of the line till the cursor

How can we use vim to delete characters from the beginning of the line till the cursor.Say, we have a string "hello world" while the cursor is on "w". How can we delete from "h" till "w".

View Article


See line breaks and carriage returns in editor

Is there a text editor on Linux that allows me to see line breaks and carriage returns? Does Vim support this feature?

View Article


Image may be NSFW.
Clik here to view.

Neovim / Vim UTF-8 characters not working

I'm new to nvim and vim in general. been using for about a month. I wasn't really bother about characters only really needed latin-1. However, I've been installing a lot more plugins to customize my...

View Article

Exit command mode in sublime text 2

I just started using sublime text 2 and when I go into command mode I can't get out. How do I exit out?

View Article

Image may be NSFW.
Clik here to view.

Table not formatted Markdown editor in @toast-ui/vue-editor

How can I improve table formatting in my Vue app utilizing @toast-ui/vue-editor? All aspects work flawlessly, except for table formatting. Is there a solution available to rectify this issue? Below is...

View Article

Seeking Feedback: Custom Toolbar Implementation for EditorJS

I've been working on a project where I created a custom toolbar for EditorJS, aiming to replace the default toolbar. The toolbar is designed to add and remove styles such as bold, italic, etc. I've...

View Article


Change font weight in visual studio code

i know in visual studio code we can change the font weight in settings.json but i can only change it to "bold", "900" has no effect. Is there any way to change the font weight like make it less bold ?...

View Article

How to set working/current directory in Vim?

So when I want to create a new file by using the :e command I don't want to specify the whole path, just the new filename. Can it be done?

View Article


How do I turn off syntax highlighting in micro text editor?

I have recently started using micro text editor.I would like to turn off syntax highlighting completely.According to the micro documentation, I can create my own syntax configuration file in...

View Article

Show all tabs and trailing spaces in Visual Studio 2022

I have to use Visual Studio 2022 for my job. For my personal project I program in vim. I have my vim configured to show » for all tabs and · for only trailing spaces (only at the end of line).Is there...

View Article


Receiving ERROR NullInjectorError: R3InjectorError(_AppModule)[config ->...

I have installed an Angular project using this command ng new --no-standalone my-text-editor and I have followed the instructions on this link Angular Text Editor, after all the steps and running...

View Article

Edit a text file on the console using Powershell

I'm trying to figure out the easiest way to edit text files in the console (PowerShell in my case). I'm using Windows 7 64 bit. It galls me that I can't just type edit filename.txt to edit a file. That...

View Article

Image may be NSFW.
Clik here to view.

Atom Editor: Soft-wrap like sublimetext in Atom

Why Atom can't soft-wrap code like sublime text?I want full screen code but soft-wrap. that means the end of line and close minimap cut line.How i can do that in atom?

View Article

Image may be NSFW.
Clik here to view.

How to create undo/redo buttons in angular with quill-editor?

I'm working on a rich text with ngx-quill and quill in angular 13 and trying to add a undo and redo functionalityimport Quill from 'quill';import { QuillEditorComponent } from 'ngx-quill';import...

View Article


Rich text editor Syncfusion- Automatic numbering detailed

Im using the rich text editor Syncfusion and i wondering if there is an option to do detailed automatic numbering.For example:enter image description hereI didnt find any solution online about this...

View Article


HOW to access emacs after installing using snap

After installing emacs with snap with the command: sudo snap install emacs --classic, the terminal result was:emacs 29.3 from Alex Murray (alexmurray✪) installedThen , when I tried to open emacs using...

View Article

Why does the app work for a certain period of time upon launching and then...

I'm creating a simple windows app using golang's win library github.com/lxn/win but running into a problem (as mentioned in the title) after couple of seconds of using the app.Here is my main.go...

View Article

Cannot read property 'PluginKey' of undefined when using @toast-ui/editor in...

I'm integrating the @toast-ui/editor into my project, which is built with native JavaScript. However, I'm encountering an error preventing the editor from being displayed. The error message I'm getting...

View Article


Image may be NSFW.
Clik here to view.

How to Auto-Complete a tag with ICsharpCode.TextEditor component?

I have added the ICSharpCode.TextEditor.dll component to my Visual Studio 2017 reference in my C# project. Next, i want to find out a way to Auto-complete a tag. I have provided a GIF image below on...

View Article

SwiftUI TextEditor View not searchable on macOS?

First time using TextEditor in a macOS project.According to this:https://www.hackingwithswift.com/quick-start/swiftui/how-to-let-users-find-and-replace-textmy code should give me built-in Search /...

View Article

VS Code adds spaces between content when pasting

When I copy this, for example:<AdmobComponent/>It pastes as:< AdmobComponent / >Does anyone have any suggestions? I don't even know where to start to fix this.

View Article

How to pass a string as an argument of defun on elisp [duplicate]

This elisp code, which I written on init.el, intended as xref buffer pop-up only takes 30% of the screen, works well.(add-to-list 'display-buffer-alist'("\\*xref\\*" (display-buffer-in-side-window)...

View Article



How to run vi on docker container?

I have installed docker on my host virtual machine. And now want to create a file using vi.But it's showing me an error:bash: vi: command not found

View Article
Browsing latest articles
Browse All 67 View Live




Latest Images