2,191 questions
1
vote
1
answer
62
views
When using this with and redirect back to the page after successful operation the ckeditor is not loading
I Am using ckeditor 5 and here is my configuration. which is working good when i first load the page but i click on the submit button and server redirect me on same page this is no longer working here....
0
votes
0
answers
65
views
How to add .tsx support in Geany editor?
I installed Geany for coding, and I want to add syntax highlight for TypeScript files
I already added #TypeScript=*.ts;*.tsx; to filetype_extensions.conf, and restarted it a few times, but it's not ...
0
votes
0
answers
51
views
Tiptap custom markInputRule removes closing bracket from match
I’m trying to create a custom mark in Tiptap v3 that highlights tags written like value inside inline text.
Here’s my current extension:
import { Mark, mergeAttributes, markInputRule } from "@...
1
vote
2
answers
127
views
How can I create a draggable, auto-sizing speech bubble with an in-place TextEditor? [closed]
My comic book editor app in SwiftUI has a user-manageable speech bubble. I want to create a BubbleView that a user can drag freely on a canvas.
Dynamic sizing: The bubble's frame must automatically ...
0
votes
0
answers
71
views
Python:prompt_toolkit TextArea.buffer.cursor_position += 4 setting to 4 instead of adding
I am trying to make a text editor with prompt_toolkit.
While implementing tab indentation, I came across this weird behavior:
def keybinds(self):
kb = KeyBindings()
@kb.add("...
2
votes
1
answer
27
views
Find keyword to limit within a method/function only not the whole file with sublime or other text editor
Good day,
I am using sublime text editor, is there a way to find a keyword within a specific function/method only?
for example, in my controller User.php, there are multiple functions inside it, now I ...
0
votes
0
answers
50
views
Froala Editor in Angular – Print Button Not Displaying Editor Content
I'm using Froala Editor in my Angular project, and I'm relatively new to it.
In my setup, I have a single Froala editor instance shared across multiple pages. When I switch between pages, I clear the ...
0
votes
1
answer
196
views
what are those orange boxes in vscode that i copied from mtr and how can i disable it?
image
When I copy output from mtr (My Traceroute) into Visual Studio Code, I see orange boxes appearing around some of the characters. What do these orange boxes represent, and how can I disable or ...
0
votes
0
answers
56
views
In GitKraken, when comparing against working directory, is there any way to get a writeable editor?
I have a stack of commits that I think I am ready to merge to main. I can easily right click on "origin/main" and select "Compare commit against working directory". This gives me a ...
1
vote
1
answer
159
views
How to highlight selected text in a rich text editor when the selection spans multiple HTML tags?
I'm implementing text highlighting functionality in a custom text editor using vanilla javascript, similar to how MS Word highlights text. The issue I'm encountering is that when a user selects text ...
0
votes
0
answers
49
views
Memorize Svelte Components Across Parents
I'm implementing a view layer for a markdown editor in svelte 5.
I've already created an incremental parser that parses markdown to MDAst.
MDAst parse a markdown source file as a hierarchy of sections....
-1
votes
1
answer
74
views
Visual Studio 2022 shortcut to switch from one end of C scope to another [duplicate]
I think the best way to describe what I'm asking is with a picture. Say I have this C++ code:
Say, if I want to quickly jump from point 1 to point 2 (and vice versa) - is there a shortcut in VS 2022 (...
0
votes
0
answers
150
views
Quill.js Resets Text to Normal on Enter Instead of Keeping Selected Size
I’m using Quill.js and need to:
Make "small" the default text size when the editor loads.
Ensure the text size persists when the user types.
Keep the selected size after pressing Enter (...
0
votes
0
answers
58
views
Calling an external text editor and piping in the input into go
I'm currently in the process of developing a virtual file system in go as a passion project, and would like to implement a text editor into my virtual file system. I have done some research into it ...
0
votes
0
answers
40
views
How can I get my viewport to render relative to my cursor position when typing in my code editor in?
I have these methods to handle the viewing of my auto-complete feature within a code editor that I'm building in Textual; essentially it's a little pop-up that renders on screen with the list of ...
0
votes
1
answer
71
views
Layout issue with 'label.grid'
I am writing a Python text editor with TkInter, and I'm writing the "Preferences" window to edit the font, the font dimension etc. It is in the __openPreferences() method in the LampText ...
0
votes
0
answers
160
views
How to create rich TextEditor with formatting options?
I'm trying to create a text editor similar to the one in the Notes app. The Notes app provides the following formatting options:
Text Styles: Title, Heading, Subheading, Body
Text Formatting: Bold, ...
0
votes
0
answers
33
views
Why does my Sublime Text2 wrap prematurely when encountering some symbols like ).?
I have enabled the auto wrap feature. This function usually runs normally. But sometimes there may be some lines that break prematurely.Lines with black dots need attention.What can be done to solve ...
1
vote
1
answer
109
views
receiving-error ERROR NullInjectorError:R3InjectorError(Standalone[_AppComponent])[markdownEditorConfig ->markdownEditorConfig ->markdownEditorConfig]
i am working on the angular cli 18 and want to implement angular-markdown-editor and I have followed the instructions on this link https://github.com/ghiscoding/angular-markdown-editorafter all the ...
2
votes
0
answers
68
views
Drawing CheckBoxes in TextKit 2
I am trying to find a way to draw the checkbox in TextKit 2, Trying to use NSTextLayoutFragment and NSLayoutManager Delegate methods to draw the checkbox and also paragraph alongside the checkbox.
...
1
vote
1
answer
254
views
How to add ASCII color recognition for an ARM os?
I want to create my own operating system. In this OS, I have an edit mode for modifying file data (currently only in RAM). Here full code of this os:
#include "editor.h"
#include "uart....
-2
votes
1
answer
141
views
On Windows, neovim crashes while using harpoon
Yesterday, while I was working on my python project, I noticed something odd. Whenever I would try open Neovim and jump to a python file using harpoon, the editor would crash.
0
votes
0
answers
87
views
Terminal is taking hours to install Next.js what to do?
I have started learning coding few weeks ago. I had installed Next.js yesterday and it run smoothly then deleted the project. Today when I again tried to install, its been more then four hours and ...
1
vote
3
answers
184
views
Return control character as number
so I'm trying to print every keypress as an integer and character referencing to ASCII code. and it seems I can't print some of control character.
After reading antirez's booklet about his kilo text ...
0
votes
2
answers
71
views
adding phantom padding when setting fixed height
I have a very simple TextEditor in a SwiftUI Form to allow users to send feedback about the app.
I want to set a minHeight and maxHeight for the text field so that it's clear the user can enter ...
0
votes
1
answer
430
views
I am using angular kolkov editor using formcontrol, have to bind html in my editor
html code:
<angular-editor [placeholder]="'Enter task...'" formControlName="task_note" [config]="editorConfig">
</angular-editor>
<div class="icon" style="cursor: pointer" (...
0
votes
0
answers
34
views
I am not able to understand what TCSAFLUSH does? I've read/watched every documentation and tutorial [duplicate]
I am not able to understand what TCSAFLUSH does. I've read everything online about this, and still it is not clear to me. Can someone please explain this by not giving me the docs link and explain it ...
0
votes
1
answer
242
views
How to share a Control Framework demo such a way it can be run by a simple copy/paste?
I've got a very simple ABAP program demonstrating how to display a Text Editor field (cl_gui_textedit), which I want to share via Internet, email, forum, blog post or whatever.
I'd like the people to ...
0
votes
0
answers
289
views
How can I traverse up and down lines contained in a gap buffer?
I'm writing a text editor as an exercise and I'm using a gap buffer as the data structure for holding text. For a cursor, I'm just storing an index into the buffer. Here is what I'm working with:
...
0
votes
1
answer
38
views
Unable to access certain info from Props. Instead tells me that it is a typeerror: and cannot read properties of undefined
I am writing a program that works as a Google docs clone type thing. I am currently programming the header of the text editor itself where it says the title and your profile picture. For the title, it ...
-1
votes
1
answer
70
views
Visual Studio inserts brackets around selection
If in the Visual Studio text editor I press <, { or ( to overwrite the selected text, it surrounds it instead. How could I disable it?
C++ option for surrounding text is turned off (Text Editor | C/...
0
votes
1
answer
161
views
Stop VisualStudio 2022 from erasing the period in intelliSense AutoCompletion
I work on Visual studio 2022 (Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.10.3 ) and intellisense autocomplete erases the period. How can i have it not erase the period (or ...
0
votes
1
answer
147
views
Get data from Quill Editor and insert it in MySQL database in Laravel 11?
I've used Quill Editor in my Laravel project. However, I am unable to retrieve the value from the editor. I tried adding a name attribute but this is not working.
<div id="content" name=&...
0
votes
0
answers
106
views
building a text editor with C++ and the cursor doesn't want to move
I'm a beginner so please don't go too harsh on me, I've been following a tutorial that a friend of mine gave for building a text editor with C++ on WSL, I've already built the functionalities for the ...
0
votes
0
answers
209
views
Set Cursor Where Mouse Clicks On Emacs Terminal Through Configuration File
I am new to the emacs text editor. Whenever I use the text editor in terminal, I find that I need to use the arrow keys on my keyboard to navigate through the code. I find this to be cumbersome when ...
3
votes
1
answer
212
views
How to retrieve text from the current line at specified cursor position before and after up to specified boundary characters?
Examples of boundary characters can be: "", '', (), space, ^$ (start and end of the line if any other boundary characters are not specified explicitly). Boundary characters should be easily ...
1
vote
0
answers
79
views
Broken vertical cursor movement in custom text editor
I am trying to implement vertical cursor movement (up and down arrow keys) in my custom nano-like text editor, but I could not get it working properly and keep introducing new bugs. My text editor ...
1
vote
2
answers
2k
views
How to Enable "Copy on Selection" in Visual Studio Code?
I'm looking to improve my workflow in Visual Studio Code by enabling the "Copy on Selection" feature. This feature would automatically copy any text I select to the clipboard without ...
1
vote
0
answers
16
views
text editor for react like megadraft
I need a text editor like megadraft or tiptap which is posted here TipTap example
I need a text editor that will not have a toolbar with buttons. I need a text editor that will have a plus on the left ...
0
votes
0
answers
1k
views
convert lexical editor state to markdown
I am trying to download lexical editor contents in the form of a file. So i am trying to extract its equivalent markdown .
import { createHeadlessEditor } from '@lexical/headless';
import { $...
0
votes
0
answers
105
views
How to install Monaco editor into a WPF app
I want to install Monaco editor into a WPF app, I Tried looking the issue up on youtube but nothing came up.
I've tried installing it like I normally would on Windows Forms App but all it did was ...
1
vote
0
answers
267
views
Plugin Duplication Wraning while mapping over Array to render Multiple TipTap Editors (React js)
I'm trying to make a productivity application that requires an editor so I'm using TipTap. On main screen there are 4 divs and when you click on one div it opens a different instance of the editor.
&...
2
votes
1
answer
245
views
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-text
my code should give me built-in Search / ...
2
votes
1
answer
607
views
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✪) installed
Then , when I tried to open emacs ...
1
vote
0
answers
74
views
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 here
I didnt find any solution online about this ...
2
votes
1
answer
104
views
Receiving ERROR NullInjectorError: R3InjectorError(_AppModule)[config -> config].... Over installing Angular-Markdown-Editor
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 ng-...
1
vote
1
answer
489
views
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 ~/....
0
votes
0
answers
799
views
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 ...
0
votes
1
answer
1k
views
Neovim / Vim UTF-8 characters not working [closed]
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 ...
0
votes
0
answers
41
views
Is there a way to make sublime as core.editor (git) on Mac [duplicate]
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 command line tool named subl.
I have used ...