1.0.3 • Published 3 years ago

base-editor v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Base editor

Customize ckeditor 5

Demo: https://editor-gz1b0xgj4-pqthinh.vercel.app/base-editor

install yarn add base-editor @ckeditor/ckeditor5-react

2: Color picker

install yarn add react-color

3: Statistic (high chart)

install yarn add highcharts highcharts-react-official

Examples

BaseEditor.create(document.querySelector("#editor"))
  .then((editor) => {
    // The toolbar needs to be explicitly appended.
    document
      .querySelector("#toolbar-container")
      .appendChild(editor.ui.view.toolbar.element);

    editor.ui
      .getEditableElement()
      .parentElement.insertBefore(
        editor.ui.view.toolbar.element,
        editor.ui.getEditableElement()
      );

    window.editor = editor;
  })
  .catch((error) => {
    console.error("There was a problem initializing the editor.", error);
  });

customize uploader

send email for me: phamquangquang2008@gmail.com

editor.plugins.get("FileRepository").createUploadAdapter = (loader) => {
  return new Upload({ loader });
};

For react

acorn-walkacornaggregate-errorajvajv-errorsalphanum-sortajv-keywordsansi-escapesansi-regexansi-stylesany-observableanymatchaprobaargparsearr-diffarr-flattenarr-unionarray-includesarray-find-indexarray-unionarray-uniqarray-uniquearray.prototype.flatarray.prototype.flatmaparrifyasn1.jsassertassign-symbolsastral-regexasync-eachatobautoprefixerbailbalanced-matchbasebig.jsbase64-jsbluebirdbinary-extensionsbn.jsboolbasebrace-expansionbracesbrorandbrowserify-aesbrowserify-cipherbrowserify-desbrowserify-rsabrowserify-signbrowserslistbrowserify-zlibbufferbuiltin-status-codesbuffer-frombuffer-xorcacachecall-bindcache-basecall-me-maybecaller-callsitecallsitescaller-pathcamelcasecamelcase-csscamelcase-keyscaniuse-apicaniuse-liteccountchalkcharacter-entitiescharacter-entities-html4character-entities-legacycharacter-reference-invalidchardetchokidarchownrchrome-trace-eventci-infocipher-baseclass-utilsclean-stackcli-cursorcli-truncatecli-widthcliuiclone-regexpcoacode-point-atcollapse-white-spacecollection-visitcolorcolor-convertcolor-namecolor-stringcolorettecommandercommondircomponent-emitterconcat-mapconcat-streamconsole-browserifyconstants-browserifyconvert-source-mapcopy-concurrentlycopy-descriptorcosmiconfigcore-util-iscreate-ecdhcreate-hashcreate-hmaccross-spawncrypto-browserifycss-color-namescss-declaration-sortercss-select-base-adaptercss-selectcss-treecss-whatcssnanocssesccssnano-preset-defaultcssnano-util-get-argumentscssnano-util-raw-cachecssnano-util-get-matchcssnano-util-same-parentcssocurrently-unhandledcyclistdate-fnsdebugdecamelizedecamelize-keysdecode-uri-componentdedentdeep-isdefine-propertiesdefine-propertydeldes.jsdetect-filediffie-hellmandir-globdoctrinedom-serializerdomain-browserdomelementtypedomhandlerdomutilsdot-propduplexifyelectron-to-chromiumelegant-spinnerellipticemoji-regexend-of-streamemojis-listenhanced-resolveentitieserrnoerror-exes-abstractescaladees-to-primitiveescape-string-regexpescodegeneslint-import-resolver-nodeeslint-module-utilseslint-plugin-ckeditor5-ruleseslint-plugin-eseslint-scopeeslint-plugin-mochaeslint-utilseslint-visitor-keysespreeesprimaesqueryesrecurseesutilseventsestraverseevp_bytestokeyexecallexecaexpand-bracketsexpand-tildeextendextend-shallowexternal-editorextglobfast-deep-equalfast-globfast-json-stable-stringifyfast-levenshteinfastqfiggy-puddingfiguresfile-entry-cachefill-rangefind-cache-dirfind-parent-dirfind-upfindup-syncflat-cacheflattedflush-write-streamfor-infragment-cachefrom2fs-extrafs-minipassfs-write-stream-atomicfs.realpathfunction-bindfunctional-red-black-treegensyncget-caller-fileget-intrinsicget-own-enumerable-property-symbolsget-stdinget-streamget-valueglobglob-parentglob-to-regexpglobal-modulesglobal-prefixglobalsglobbyglobjoingonzales-pegraceful-fshashas-ansihas-bigintshas-flaghas-valuehas-symbolshas-valueshash.jshash-basehmac-drbghomedir-polyfillhosted-git-infohex-color-regexhsl-regexhtml-tagshsla-regexhttps-browserifyhtmlparser2iconv-liteieee754iferrignoreimport-cwdimport-freshimport-fromimport-lazyimport-localimurmurhashindent-stringindexes-ofinfer-ownerinflightinheritsinquireriniinternal-slotinterpretis-absolute-urlis-accessor-descriptoris-alphabeticalis-alphanumericis-alphanumericalis-arrayishis-bigintis-boolean-objectis-bufferis-binary-pathis-callableis-ciis-color-stopis-core-moduleis-date-objectis-data-descriptoris-decimalis-descriptoris-directoryis-extendableis-extglobis-fullwidth-code-pointis-hexadecimalis-globis-negative-zerois-numberis-objis-number-objectis-observableis-path-cwdis-path-insideis-plain-objis-plain-objectis-promiseis-regexis-regexpis-resolvableis-streamis-stringis-symbolis-whitespace-characteris-windowsis-word-characteris-wslisarrayisexeisobjectjavascript-stringifyjest-get-typejest-validatejest-workerjs-yamljsescjs-tokensjson-parse-better-errorsjson-stable-stringify-without-jsonifyjson-schema-traversejson5jsonfilekind-ofjsx-ast-utilsknown-css-propertieslevenlevnlistrlistr-update-rendererlistr-silent-rendererlistr-verbose-rendererload-json-fileloader-utilsloader-runnerlocate-pathlodashlodash-eslodash.memoizelodash.uniqlog-symbolslog-updatelongest-streakloose-envifyloud-rejectionlru-cachemake-dirmap-cachemap-objmarkdown-escapesmap-visitmarkdown-tablemathml-tag-namesmd5.jsmdn-datamdast-util-compactmemory-fsmeowmerge-streammerge2micromatchmiller-rabinmimic-fnminimalistic-assertminimalistic-crypto-utilsminimatchminimistminimist-optionsminipass-collectminipassminipass-pipelineminipass-flushmississippimixin-deepmkdirpmove-concurrentlymsnanomatchmute-streamnatural-compareneo-asyncnice-trynode-libs-browsernode-releasesnormalize-package-datanormalize-pathnormalize-rangenormalize-selectornormalize-urlnpm-pathnpm-run-pathnpm-whichnth-checknum2fractionnumber-is-nanobject-assignobject-inspectobject-copyobject-keysobject-visitobject.assignobject.entriesobject.fromentriesobject.getownpropertydescriptorsobject.pickonceobject.valuesonetimeoptionatoros-tmpdiros-browserifyp-finallyp-limitp-mapp-locatep-tryparallel-transformpakoparent-moduleparse-asn1parse-entitiesparse-jsonparse-passwdpascalcasepath-browserifypath-dirnamepath-existspath-is-insidepath-is-absolutepath-keypath-parsepbkdf2path-typepifypicomatchpkg-dirpkg-upplease-upgrade-nodepofileposix-character-classespostcss-calcpostcsspostcss-colorminpostcss-convert-valuespostcss-discard-commentspostcss-discard-duplicatespostcss-discard-emptypostcss-discard-overriddenpostcss-htmlpostcss-jspostcss-importpostcss-jsxpostcss-lesspostcss-markdownpostcss-load-configpostcss-media-query-parserpostcss-merge-longhandpostcss-merge-rulespostcss-minify-font-valuespostcss-minify-gradientspostcss-minify-paramspostcss-minify-selectorspostcss-nestingpostcss-mixinspostcss-normalize-charsetpostcss-normalize-display-valuespostcss-normalize-positionspostcss-normalize-repeat-stylepostcss-normalize-stringpostcss-normalize-timing-functionspostcss-normalize-urlpostcss-normalize-unicodepostcss-normalize-whitespacepostcss-ordered-valuespostcss-reduce-initialpostcss-reporterpostcss-reduce-transformspostcss-resolve-nested-selectorpostcss-safe-parserpostcss-scsspostcss-sasspostcss-selector-parserpostcss-simple-varspostcss-syntaxpostcss-svgopostcss-unique-selectorsprelude-lspostcss-value-parserpretty-formatprocessprocess-nextick-argsprogresspromise-inflightprop-typesprrpseudomappublic-encryptpumppumpifypunycodeqquerystringquerystring-es3queue-microtaskramdaquick-lrurandombytesrandomfillreact-isread-cacheread-pkgread-pkg-upreadable-streamreaddirprechoirredentregex-notregexp.prototype.flagsregexppremarkremove-trailing-separatorremark-parseremark-stringifyrepeat-elementrepeat-stringrequire-directoryreplace-extrequire-main-filenameresolveresolve-cwdresolve-dirresolve-fromresolve-urlrestore-cursorreusifyretrgb-regexrgba-regexrimrafripemd160run-asyncrun-parallelrun-noderun-queuerxjssafe-buffersafe-regexsafer-bufferschema-utilssaxsemverserialize-javascriptsemver-compareset-blockingset-valuesha.jssetimmediateshebang-commandshebang-regexshelljsside-channelsignal-exitsimple-swizzleslashslice-ansisnapdragonsnapdragon-nodesnapdragon-utilsource-mapsource-list-mapsource-map-resolvesource-map-supportsource-map-urlspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssplit-stringsprintf-jsspecificitystablessristaged-git-filesstate-togglestatic-extendstream-browserifystream-eachstream-shiftstream-httpstring-argvstring-widthstring.prototype.matchallstring.prototype.trimstartstring.prototype.trimendstring_decoderstringify-entitiesstrip-ansistringify-objectstrip-bomstrip-eofstrip-indentstrip-json-commentsstyle-searchstylelint-config-recommendedstylehackssugarsssupports-colorsvg-tagssvgosymbol-observabletabletapabletersertext-tablethroughthrough2timers-browserifytimsorttmpto-arraybufferto-fast-propertiesto-object-pathto-regexto-regex-rangetrimtrim-newlinestrim-trailing-linestroughtsconfig-pathstslibtty-browserifytype-checktypedarrayunbox-primitivetype-festunherituniqunion-valueunifieduniqsunique-filenameunist-util-find-all-afterunique-slugunist-util-isunist-util-remove-positionunist-util-stringify-positionunist-util-visituniversalifyunist-util-visit-parentsunset-valueunquoteupathuri-jsurixurluseutilutil-deprecateutil.promisifyv8-compile-cachevalidate-npm-package-licensevfilevendorsvfile-locationvfile-messagevm-browserifywatchpack-chokidar2watchpackwebpack-sourceswhichwhich-boxed-primitiveword-wrapwhich-modulewrap-ansiworker-farmwrappywritex-is-stringxtendy18nyallistyargsyargs-parser
1.0.3

3 years ago

1.0.2

3 years ago