All Projects → burdiuz → react-native-codeditor

burdiuz / react-native-codeditor

Licence: MIT license
React Native component to display code editor using WebView and CodeMirror

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-native-codeditor

webview-cs
C# Bindings to https://github.com/zserge/webview
Stars: ✭ 110 (+423.81%)
Mutual labels:  webview
dev-log
A comprehensive list of links and resources about anything programming related
Stars: ✭ 55 (+161.9%)
Mutual labels:  code
BeautifulMakie
https://lazarusa.github.io/BeautifulMakie/
Stars: ✭ 281 (+1238.1%)
Mutual labels:  code
Snippet-Share
This is a snippet sharing app that can be used to share snippets of code and more.
Stars: ✭ 41 (+95.24%)
Mutual labels:  code
malwinx
Just a normal flask web app to understand win32api with code snippets and references.
Stars: ✭ 76 (+261.9%)
Mutual labels:  code
codemirror-plugin
Emmet plugin for CodeMirror web editor
Stars: ✭ 55 (+161.9%)
Mutual labels:  codemirror
autojs-webView
autojs的webView实现,支持初始化脚本注入、jsBridge两端互调
Stars: ✭ 38 (+80.95%)
Mutual labels:  webview
vue-showdowns-editor
A markdown editor using codemirror and previewer using @jhuix/showdowns for Vue.js.
Stars: ✭ 27 (+28.57%)
Mutual labels:  codemirror
codemirror-autosuggest
CodeMirror autosuggest addon
Stars: ✭ 44 (+109.52%)
Mutual labels:  codemirror
CounterView
一个数字变化效果的计数器视图控件
Stars: ✭ 38 (+80.95%)
Mutual labels:  code
react-native-fblogin
📦 A React Native 'Facebook Login' component without wrapping any Facebook Native/Web SDK
Stars: ✭ 19 (-9.52%)
Mutual labels:  webview
macos-snippets
Snip is a lightweight snippets manager app for macOS
Stars: ✭ 238 (+1033.33%)
Mutual labels:  codemirror
IosCodeSpecification
Ios best practices, Ios development specification, ios 开发规范,ios 最佳实践,ios编码规范
Stars: ✭ 43 (+104.76%)
Mutual labels:  code
topframe
Local webpage screen overlay for customizing your computing experience
Stars: ✭ 321 (+1428.57%)
Mutual labels:  webview
FastWebView
自定义本地缓存策略和资源加载策略,突破原生WebView缓存限制,实现多种缓存模式,支持离线加载和预加载,可大幅提升加载速度。
Stars: ✭ 211 (+904.76%)
Mutual labels:  webview
vuepress-plugin-demo-code
📝 Demo and code plugin for vuepress
Stars: ✭ 119 (+466.67%)
Mutual labels:  code
webview flutter plus
An extension of webview_flutter to load HTML,CSS and Javascript even from Assets or Strings.
Stars: ✭ 45 (+114.29%)
Mutual labels:  webview
hackerrank-solutions-javascript
hacker rank javascript solutions
Stars: ✭ 20 (-4.76%)
Mutual labels:  code
sourcegraph-vscode
*️⃣+ 🆚 = ❤️
Stars: ✭ 84 (+300%)
Mutual labels:  code
clojure-mode
Clojure/Script mode for CodeMirror 6
Stars: ✭ 105 (+400%)
Mutual labels:  codemirror

React Native Code Editor

Code Editor based on Codemirror.

import React, { Component } from 'react';
import CodeEditor from '@actualwave/react-native-codeditor';

export default () => (
  <CodeEditor
    onInitialized={(api) => console.log('Initialized!')}
    onHistorySizeUpdate={(size) => console.log('History Size Update:', size)}
    onLog={(content) => console.log('Log:', content)}
    onError={(content) => console.log('Error:', content)}
    onContentUpdate={(content) => console.log('Content Update:', content)}
    theme="darcula"
    settings={{
      gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter'],
      inputStyle: 'contenteditable',
      styleActiveLine: true,
      mode: 'jsx',
      lineNumbers: true,
      lineWrapping: true,
      foldGutter: true,
      matchBrackets: true,
      autoCloseBrackets: true,
      matchTags: true,
      autoCloseTags: true,
      highlightSelectionMatches: true,
      theme: 'darcula',
    }}
    modules={[
      'addon/fold/foldgutter',
      'mode/javascript/javascript',
      'mode/xml/xml',
      'mode/jsx/jsx',
      // FIXME causes unexpected new lines during editin
      // 'addon/selection/active-line',
      'addon/edit/matchbrackets',
      'addon/edit/matchtags',
      'addon/search/match-highlighter',
      'addon/edit/closebrackets',
      'addon/edit/closetag',
      'addon/fold/foldcode',
      'addon/fold/foldgutter',
      'addon/fold/brace-fold',
      'addon/fold/comment-fold',
      'addon/fold/indent-fold',
      'addon/fold/xml-fold',
    ]}
    content={`import React, { Component, PropTypes } from 'react';
import {
  View,
  Text,
  InputText,
  TouchableHighlight,
  TouchableOpacity,
} from 'react-native';


class ClassComponent extends Component {
  static propTypes = {};
  static defaultProps = {};

  componentWillMount() {
  }

  componentWillReceiveProps(nextProps, nextContext) {
  }

  render() {
    return (
      <View />
    );
  }
}

export default ClassComponent;
`}
  />
);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].