Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 1... Línea 1...
1
/**
1
/**
2
 * TinyMCE version 6.8.3 (2024-02-08)
2
 * TinyMCE version 7.7.1 (2025-03-05)
3
 */
3
 */
Línea 4... Línea 4...
4
 
4
 
5
(function () {
5
(function () {
Línea 894... Línea 894...
894
        inselection: initialState.inSelection
894
        inselection: initialState.inSelection
895
      };
895
      };
896
      const getPanelItems = error => {
896
      const getPanelItems = error => {
897
        const items = [
897
        const items = [
898
          {
898
          {
899
            type: 'bar',
899
            type: 'label',
900
            items: [
900
            label: 'Find',
-
 
901
            for: 'findtext',
901
              {
902
            items: [{
902
                type: 'input',
903
                type: 'bar',
-
 
904
                items: [
-
 
905
                  {
903
                name: 'findtext',
906
                    type: 'input',
904
                placeholder: 'Find',
907
                    name: 'findtext',
905
                maximized: true,
908
                    maximized: true,
906
                inputMode: 'search'
909
                    inputMode: 'search'
907
              },
910
                  },
908
              {
911
                  {
909
                type: 'button',
912
                    type: 'button',
910
                name: 'prev',
913
                    name: 'prev',
911
                text: 'Previous',
914
                    text: 'Previous',
912
                icon: 'action-prev',
915
                    icon: 'action-prev',
913
                enabled: false,
916
                    enabled: false,
914
                borderless: true
917
                    borderless: true
915
              },
918
                  },
916
              {
919
                  {
917
                type: 'button',
920
                    type: 'button',
918
                name: 'next',
921
                    name: 'next',
919
                text: 'Next',
922
                    text: 'Next',
920
                icon: 'action-next',
923
                    icon: 'action-next',
921
                enabled: false,
924
                    enabled: false,
922
                borderless: true
925
                    borderless: true
-
 
926
                  }
923
              }
927
                ]
924
            ]
928
              }]
925
          },
929
          },
926
          {
930
          {
927
            type: 'input',
931
            type: 'input',
928
            name: 'replacetext',
932
            name: 'replacetext',
929
            placeholder: 'Replace with',
933
            label: 'Replace with',
930
            inputMode: 'search'
934
            inputMode: 'search'
931
          }
935
          }
932
        ];
936
        ];
933
        if (error) {
937
        if (error) {
934
          items.push({
938
          items.push({
Línea 1065... Línea 1069...
1065
        icon: 'search'
1069
        icon: 'search'
1066
      });
1070
      });
1067
      editor.ui.registry.addButton('searchreplace', {
1071
      editor.ui.registry.addButton('searchreplace', {
1068
        tooltip: 'Find and replace',
1072
        tooltip: 'Find and replace',
1069
        onAction: showDialog(editor, currentSearchState),
1073
        onAction: showDialog(editor, currentSearchState),
1070
        icon: 'search'
1074
        icon: 'search',
-
 
1075
        shortcut: 'Meta+F'
1071
      });
1076
      });
1072
      editor.shortcuts.add('Meta+F', '', showDialog(editor, currentSearchState));
1077
      editor.shortcuts.add('Meta+F', '', showDialog(editor, currentSearchState));
1073
    };
1078
    };
Línea 1074... Línea 1079...
1074
 
1079