WYSIWYG editor for website is summernote https://summernote.org
Summernote setup with webapcker, using yarn add
command
yarn add summernote@0.8.16
sudo apt-get update | |
sudo apt-get install libjemalloc-dev | |
RUBY_CONFIGURE_OPTS='--with-jemalloc' rbenv install 2.7.1 | |
rbenv global 2.7.1 | |
# test (look for jemalloc warnings) | |
MALLOC_CONF=invalid_flag:foo ruby -v | |
# check | |
ruby -r rbconfig -e "puts RbConfig::CONFIG['MAINLIBS']" |
brew update | |
brew upgrade | |
rbenv install -l | |
# will list all latest ruby versions | |
# if it will not show all latest versions | |
# then run: | |
cd ~/.rbenv/plugins/ruby-build/ && git pull | |
# list all versions again |
WYSIWYG editor for website is summernote https://summernote.org
Summernote setup with webapcker, using yarn add
command
yarn add summernote@0.8.16
Minimum eight characters, at least one letter and one number:
/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/
Minimum eight characters, at least one letter, one number and one special character:
/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$/
Minimum eight characters, at least one uppercase letter, one lowercase letter and one number: