Questions tagged [editor]

1

votes
1

answer
2.6k

Views

Swagger 3.0 schema error “should NOT have additional properties”

What does this error below mean? (Running in Swagger Editor) Schema error should NOT have additional properties additionalProperty: /buildinfo, /clearcache, /countries/{countryId}/cinemas/{theatreid}/screens/{screenid}/layout, /countries/{countryId}/cinemas/{theatreid}/screens Jump to line 0 Below i...
peter ivarsson
0

votes
0

answer
7

Views

How to fix trix editor in laravel 5.8

I am trying to add trix editor in a form. It appears but the toolbar is disabled its not working. After some research i found that was in the header of my layout file so i moved it in the end of the body and removed 'defer' and now trix editor is disappeared. layout file @yield('scripts') field whe...
Aadee Shah
1

votes
5

answer
1.8k

Views

how to give simple test editing facility (bold,italic,underline) while typing text in an EditText?

the user should be able to create something like the following while typing inside the edittext itself. 'this text is Bold and this is italics .' I don't want the whole text to be in any one format(ie. bold/italics/underline). thank you.
sisir
1

votes
0

answer
116

Views

Is there any package for atom which autocompletes custom components?

I installed lots of packages to atom including emmet,auto complete HTML,angular and typescript plugins. All standard angular tags gets loaded. But my custom component name don`t get loaded. Do we have a plugin for this ? This is my HTML file This is my component ts file
AMendis
1

votes
0

answer
267

Views

Why can I load a module in GHCi, while Atom can't find it?

I'm using Haskell with Stack and Atom on Windows 10. Sometimes, I like to just write a stand-alone .hs file to play around with various things. When I do that, I prefer to interact with it using GHCi. Usually, I start it from Git Bash: $ stack ghci --color never From here, I can add modules: Prelude...
Mark Seemann
1

votes
0

answer
378

Views

swagger editor UI sends a OPTIONS request method instead of PUT and DELETE

http://editor.swagger.io sends a OPTIONS request method instead of PUT and DELETE but for POST and GET it's work perfectly even I have installed a Chrome extension that adds Access-Control-Allow-Origin to outgoing requests. and same added in the c# code like below [EnableCors(origins: '', headers:...
Raj Kumar
1

votes
1

answer
508

Views

Wrong cursor position of Ace Editor inside a dialog

According to Ace Editor embedding guidelines Ace Embedding I added Ace to my website. You can also view here the simplest working example of Ace Editor in a working example(not mine) Ace Editor jsfiddle But I face the following problem: I want to add the div of editor inside a dialog but I face a p...
1

votes
0

answer
318

Views

Using Parsoid with Auth Remoteuser Extension on XAMPP (Windows)

I have been searching for the last week trying to find an answer on how to use Visual Editor/Parsoid and Auth Remoteuser extensions together. I am getting the following error when trying to Create/Edit a page: Error loading data from server: apierror-visualeditor-docserver-http: HTTP 500. Would you...
Kumaran S
1

votes
0

answer
323

Views

ESlint is not working in Atom - React Native

I want Atom editor to show errors but ESLint is not working. Steps I followed are: -> Installed both packages: 'linter-eslint' & 'linter' in atom. -> Via command prompt, inside project directory I have run npm install --save-dev eslint-config-rallycoding -> Then created configuration file '.eslintrc...
anashamidkh
1

votes
0

answer
627

Views

VSCode does not autocomplete Node.JS modules

That's how it works with default js methods, IntelliSense seems to understand and autocomplete this And when I'm trying to import some node default modules (path,fs,http) This highlighting does not show methods of these objects, how can I fix this?
Sergei Bynas
1

votes
0

answer
255

Views

Session.getActiveUser().getEmail() returns no Value

this is my first Stackoverflow Questions, so I'm trying to do my best to be clear and structured here but please forgive me for beginner mistakes :) So I'm having a little issue with the Script Editor of Google, basically I'm calling the Session.getActiveUser().getEmail() as well as the Session.getE...
Bruce McGivern
1

votes
0

answer
106

Views

Unity 5.6.3 internal editor error

i just made clean install of Unity 5.6.3p1(i need it) and the editor is crashing in a loop with error: IndexOutOfRangeException: Array index is out of range. UnityEditor.SceneRenderModeWindow.GetGUIContent (DrawCameraMode drawCameraMode) (at C:/buildslave/unity/build/Editor/Mono/Annotation/SceneRend...
choo84
1

votes
0

answer
37

Views

Google Apps Script published add-on stopped working post chnages

I have a published Add-on in web store for Google Docs. I have also been able to make changes to it and re-publish to web store couple of times in past. But when I made a recent change to add-on, it won't allow me to test as Add-on again. Only error I am getting is: 'There was a problem testing the...
pdholakia
1

votes
0

answer
43

Views

Add proper selector for keybinding event in Atom editor

I develop a package, which allows user to use Home button to toggle cursor position in soft-wrapped lines, as it is in Komodo Edit editor. In my toggle() function I try to get active text editor from Atom Workspace using getActiveTextEditor function and then I do my logic. atom.workspace.getActiveTe...
qba-dev
1

votes
1

answer
340

Views

How to type subscripts/superscripts in Xcode string literals?

I have seen this code in Xcode editor : How can I type these strings with different character position and font size ?
yakovlevvl
1

votes
0

answer
177

Views

How to make handles in a line editor rotate by rotating game object

I have been trying to make the handles (from the nodes) in GoKit rotate by rotating the game object. Basically I added GoKit to my project and made a game object with the GoDummyPath script attached. I only used two nodes (or handles) to create a straight line. The image above shows what I want to a...
OnlyCodeMatters
1

votes
1

answer
469

Views

primeng editor without toolbar

How do I switch off the toolbar on a primeNG Editor ? I am getting the Editor instance of (onInit) of the editor. However the below doesn't seem to work. The example I see from quilljs all seem to work on the basis of creating a new Quill js instance, but in this case I already have the instance? T...
oudekaas
1

votes
2

answer
401

Views

Unable to Run JavaScript in Atom with Script package

I am trying to run JavaScript code in Atom with Script package. It can run Python successfully, but with JS files it gives the following error message: The system cannot find the file specified.
Kaptan Singh
1

votes
1

answer
121

Views

Javascript code editor in dynamically scaled container

I'm trying to display functional code editor in a container which scale and translation will be modified at runtime, its rotation and proportion wont be touch no skew either. Document structure is generated at runtime but relevant part looks like this: I tried codemirror, ace, monaco, I've been ab...
Bartosz Matuszewski
1

votes
0

answer
123

Views

How to handle wp_editor with out echoing

I would like to know how to pass the wp_editor into variables with out directly echoing. Right now am using function fed_get_wp_editor( $content = '', $id, array $options = array() ) { ob_start(); wp_editor( $content, $id, $options ); $temp = ob_get_clean(); $temp .= \_WP_Editors::enqueue_scripts(...
Vinoth Kumar
1

votes
0

answer
123

Views

RPI - Remote debug node js with Atom

I'm trying to debug a Node.js running on RPI. The following video shows how do to it with webstorm https://vimeo.com/175284169 but when I do the same procedure with Atom, when I debug it display the source code of the main file from the actual RPI path therefore I cannot set break points. How do I m...
Elia Weiss
1

votes
0

answer
234

Views

Atom Path Error. Can't Run Python Code

Whenever I try to run some code in Atom for Python I keep getting this error: Unable to find command: python Are you sure PATH is configured correctly? I just downloaded Atom and Python 3.6.4 and followed some set-up videos for Atom, as well as reading through a bunch of forums with no solution, and...
Aaron Mazie
1

votes
1

answer
551

Views

How to prevent Visual Studio editor from jumping up or down a line while selecting text?

Visual Studio 2015 on Windows 7 Pro SP1. When editing code in VS, most often when editing XAML because lines can get long. If you are dragging with the mouse to select text on a long line (the horizontal scroll bar in the editor is scrolled partially to the right) and your cursor moves slightly up o...
twitort
1

votes
0

answer
175

Views

How to install scala kernel for hydrogen?

I'm looking at: https://nteract.io/kernels it's saying how to install python kernels for hydrogen: python -m pip install ipykernel python -m ipykernel install --user but which python -m pip install [scala kernel?] command should I use to install the scala kernel? or is it a whole other process? wher...
Jas
1

votes
0

answer
33

Views

Editing meta shortcut on nano text editor

Is there any option to change the meta M- shortcut on nano text editor? Im working with a Mac, and I wanted to change the meta shortcut for comfort reasons. I'm actually using the esc key but will love to change it to my preference.
David
1

votes
0

answer
72

Views

Quilljs editor set content with html attributes

I am searching for a way to set default starting content in my Quilljs editor. I am using React but I think the question is more directly related to Quilljs then using it in combination with React. I am trying to add content with some highlighted parts to be changed by the user such as the code belo...
directory
1

votes
0

answer
43

Views

How to create snap setting buttons in scene view or inspector view based on a selected game object

I am using 9 different snap settings to move 3 different objects around in my scene view (3 for each object). Manually adjusting these settings is really a pain. How can create dynamic snap settings buttons within the scene view (or inspector) that change when I select a game object? Therefore at an...
OnlyCodeMatters
1

votes
1

answer
46

Views

Duplicate -tpl.c~ files when created a new project in Django (Atom Text Editor)

I created a new project with django-admin startproject basicform And then created a new application django-admin startapp basicapp But, when i started my server, python manage.py runserver It made duplicated files, like this https://drive.google.com/open?id=1MTvpHf7pACsp9o_b129g5wPsKqwbbZDp Is this...
Saurabh Chopra
1

votes
0

answer
52

Views

Some execCommands are not running in my custom WYSIWYG editor

I'm trying to create a wysiwyg editor from scratch. I tried using an iframe, but I don´t like 'cause I loose the control over its elements (like images), that I'd like to be able to resize. So I moved to contenteditable div. The issue is that now, I have another problem. Previously I had created my...
edluis97
1

votes
1

answer
41

Views

Limit selection of following text in Visual Studio Code editor

Is there any way in Visual Studio Code to prevent 'over-selection' when using Shift + Alt + RightArrow combo? E.g. if I'm at the end of line 4 below and I hit that key combo, VS Code selects up until the end of bar which is never what I want and means I always have to unselect the last word: In JetB...
emertechie
1

votes
1

answer
185

Views

Atom issue python package

i have recently installed Atom in my computer. I have followed the instruction in a youtube video on how to setup a python environment using Atom. i've created a file with the .py extension, and the simple code i have written is print('hello world') yet I get the following error : 'python is not rec...
heioszz
1

votes
0

answer
174

Views

autosave in atom doesn't work

I am using atom and I'm trying to get autosave to work. It's in the packages, enabled, and has the check box enabled. Here is some relevant info: I'm running on windows 10 My code is not local it's ssh'd in from a vm for what it's worth I tried to map ctrl-shft-s to save all and that wont work eithe...
Raif
1

votes
0

answer
36

Views

Not able to show text in unescaped form by JSON.parse(response)

escaped string 'first line\r\n\tsecond line\r\n\t\t working fine' using following code works fine but it is not working if setValue from server response editor.setValue('first line\r\n\tsecond line\r\n\t\t working fine'); Not Working following code $.ajax(settings).done(function (response) { edit...
Meghs Dhameliya
1

votes
1

answer
452

Views

Get started with the formatting in Monaco Editor

I am trying to add a formatting to a custom language in Monaco Editor. It seems that we could use monaco.languages.registerDocumentFormattingEditProvider. As an example, I have made a working plunker. Now I want to add a very simple formatting rule to the whole document: add one newline after each...
SoftTimur
1

votes
0

answer
174

Views

Embedding Highcharts-Editor within ReactJS web app and pulling data from DB

I am currently working on a college final year project and I am trying to embed a Simple Modal Editor version of highcharts-editor within my ReactJS application. ( see here http://editor.highcharts.com/simplemodal.html ) I would like to open the modal editor and rather than import data from uploads,...
devdc
1

votes
0

answer
252

Views

Atom hydrogen: how to switch kernel start path

Open Atom, start local ipython kernel then run codes in a file. Hydrogen starts the kernel in the file's directory. After it finishes, I want to restart the kernel and run another file in another directory. But hydrogen keeps the kernel path to the first file. Is there a way to 'run file' in hydroge...
jf328
1

votes
0

answer
381

Views

Open link in a new window in electron

I am using the below code to open a link in a new electron window: $('body').on('click', '.openlink', function () { var url = 'https://www.google.com' + this.id; window.open(url,'_blank','height=650,width=1000,frame=true,show=true'); }); However, when I click the button again, the other page opens i...
Mr. Blockchain
1

votes
0

answer
417

Views

Unable to start Julia in Atom

I get these error messages everytime I try to run a Julia command. I am starting Atom from the command line. I am not sure what else I am doing incorrectly in the setup. juno-msg-precompilingINFO: Precompiling module Atom. ERROR: LoadError: could not open file /Users/John/.julia/v0.6/MbedTLS/sr...
qq3254
1

votes
0

answer
76

Views

android studio 3.0.1 settings editor right margin (columns)

I am changing default value of right margin (columns) from 100 to 255. It works fine unless I exit the Android Studio (AS). Next time, I launch AS the value comes back to 100. It is annoying to remeber and change this every time I start AS
Leszek J. Cierniak
1

votes
1

answer
169

Views

What's the easiest way to append RTF content from a MemoryStream into an XamRichTextEditor

I am trying to merge the RTF context from a standard System.Windows.Controls.RichTextBox control, and append it to the end of the current RTF context of a XamRichTextEditor control. Currently, my following code is throwing a null reference exception on the first line I try to reference the temporar...
Shamba

View additional questions