react-ace

WebJar for react-ace

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий React Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

github-com-securingsincity-react-ace
Последняя версия

Последняя версия

4.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

react-ace
WebJar for react-ace
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/securingsincity/react-ace

Скачать github-com-securingsincity-react-ace

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-securingsincity-react-ace/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-securingsincity-react-ace</artifactId>
    <version>4.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-securingsincity-react-ace/
implementation 'org.webjars.npm:github-com-securingsincity-react-ace:4.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-securingsincity-react-ace/
implementation ("org.webjars.npm:github-com-securingsincity-react-ace:4.1.0")
'org.webjars.npm:github-com-securingsincity-react-ace:jar:4.1.0'
<dependency org="org.webjars.npm" name="github-com-securingsincity-react-ace" rev="4.1.0">
  <artifact name="github-com-securingsincity-react-ace" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-securingsincity-react-ace', version='4.1.0')
)
libraryDependencies += "org.webjars.npm" % "github-com-securingsincity-react-ace" % "4.1.0"
[org.webjars.npm/github-com-securingsincity-react-ace "4.1.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : brace jar [0.8.0,0.9)
org.webjars.npm : lodash.isequal jar [4.1.1,5)

Модули Проекта

Данный проект не имеет модулей.

React-Ace

logo

Backers on Open Collective Sponsors on Open Collective Greenkeeper badge

npm version Build Status CDNJS Coverage Status

Buy Me A Coffee

A set of react components for Ace

NOTE FOR VERSION 8! : We have stopped support for Brace and now use Ace-builds. Please read the documentation on how to migrate. Examples are being updated.

DEMO of React Ace

DEMO of React Ace Split Editor

DEMO of React Ace Diff Editor

Install

npm install react-ace ace-builds

yarn add react-ace ace-builds

Basic Usage

import React from "react";
import { render } from "react-dom";
import AceEditor from "react-ace";

import "ace-builds/src-noconflict/mode-java";
import "ace-builds/src-noconflict/theme-github";

function onChange(newValue) {
  console.log("change", newValue);
}

// Render editor
render(
  <AceEditor
    mode="java"
    theme="github"
    onChange={onChange}
    name="UNIQUE_ID_OF_DIV"
    editorProps={{ $blockScrolling: true }}
  />,
  document.getElementById("example")
);

Examples

Checkout the example directory for a working example using webpack.

Documentation

Ace Editor

Split View Editor

Diff Editor

How to add modes, themes and keyboard handlers

Frequently Asked Questions

Migrate to version 8

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Версии библиотеки

Версия
4.1.0