
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@patternslib/pat-redactor
Advanced tools
A Patternslib plugin for redactor.
:warning: If you want to build and use this Pattern you need a Redactor 3 release a folder above the checkout of this repository. Redactor is a properitary WYSIWYG editor for the web with a commercial license which cannot be included here.
To convert any textarea to a redactor-enabled editor just give it the class pat-redactor
.
The following key/values are supported in the data-pat-redactor
data attribute:
toolbar-type
with values being standard
, fixed
or air
toolbar-external
with a css-selector value pointing to the external toolbar element.toolbar-fixed-target
with a css-selector pointing to the layer of the toolbar.buttons
as a comma/space separated list of buttons you wish to have available on the editor.air-buttons
the buttons in the air menu by use of if you have specified air
as the toolbar type.allowed-tags
or denied-tags
as a comma/space separated list of allowed/not-allowed html tags.file-upload
as a url where file uploads are going to be posted to.image-upload
as a url where image uploads are going to be posted to.Download redactor.js and unzip the the file in a directory named redactor
one level above this directory.
In your console,
npm install
gulp bower
gulp
7.0.0 (2022-06-28)
Depend on @patternslib/dev and extend config from there. (f369a75)
Extend babel config from @patternslib/dev. (458d3c7)
Extend commitlint config from @patternslib/dev. (e72f8af)
Extend eslint config from @patternslib/dev. (d5bc9a0)
Extend jest config from @patternslib/dev. (8f2eae0)
Extend Makefile from @patternslib/dev. (2ad82e9)
Extend prettier config from @patternslib/dev. (9cf1a7e)
Extend release-it config from @patternslib/dev. (1584d75)
Extend webpack config from @patternslib/dev. (3428c99)
@patternslib/patternslib needs to be installed. Adding to devDependencies to avoid version clashes with other packages depending on it. (bc2704b)
Do not build a bundle and do not upload any assets to GitHub due to redactor being proprietary software. (2f4265b)
Upgrade to @patternslib/dev 2.2.0 and adapt module federation config. (5fb5e08)
Upgrade underscore to 1.13.4. (dea494d)
build: Add build:dev script to package.json to create a unminified development build. (7a0db7f)
Build: @patternslib/patternslib as peerDependency. (9af550f)Move @patternslib/patternslib dependency to peerDependencies and set to any version to avoid version conflicts when this package is a dependency of another Patternslib based package.
Build: Add @patternslib/patternslib also to devDependencies so that we get it installed. (cdf63bb)
Build: Add keyword "patternslib" to package.json. (79b4cb9)
Build: Extend jest.config.js from Patternslib and reuse their setupTests file too. (da62bf8)
Build: Keep yarn.lock in repository. (71299a8)
Build: Makefile - Allow OTP when publishing to npm, build bundles and publish them on GitHub, add pre-release targets. (af4526a)
Build: Remove dependency regenerator-runtime except from test setup. The async/await runtime handling is already built-in in current Babel. (7eb89b6)
Build: Update GitHub actions setup. (d027474)
Build: Upgrade and cleanup dependencies. (96b7bcc)
FAQs
A pattern for redactor
The npm package @patternslib/pat-redactor receives a total of 1 weekly downloads. As such, @patternslib/pat-redactor popularity was classified as not popular.
We found that @patternslib/pat-redactor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.