Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade 2025 #360

Merged
merged 8 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions assets/js/principal_select_section.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// import $ from 'jquery';
// import 'select2'; // globally assign select2 fn to $ element
// import 'select2/dist/css/select2.css'; // optional if you have css loader
// require('../css/app.css');
const $ = require('jquery');
require('@selectize/selectize');
require('@selectize/selectize/dist/css/selectize.css');


$(function () {
$('#section_add_section').selectize({
// create: true,
sortField: 'text'
});



});

5 changes: 4 additions & 1 deletion assets/tinymce/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import tinymce from 'tinymce';

import 'tinymce/themes/silver';
import 'tinymce/skins/content/default/content';
import 'tinymce/icons/default';
import 'tinymce/plugins/preview';
import 'tinymce/plugins/quickbars';
Expand All @@ -16,11 +18,11 @@ import 'tinymce/plugins/media';
import 'tinymce/plugins/codesample';
import 'tinymce/plugins/anchor';
import 'tinymce/plugins/autolink';
import es from 'tinymce/plugins/help/js/i18n/keynav/es.js';
require('./content.min.css');

tinymce.init({
selector: '.tinymce-editor',
language: 'es',
plugins: 'preview importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount help charmap quickbars emoticons accordion',
editimage_cors_hosts: ['picsum.photos'],
menubar: 'file edit view insert format tools table help',
Expand Down Expand Up @@ -61,6 +63,7 @@ tinymce.init({
// }
// },
height: 300,
language: es,
// image_caption: true,
// quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quickimage quicktable',
// noneditable_class: 'mceNonEditable',
Expand Down
155 changes: 117 additions & 38 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading