You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop: Add new beta Markdown editor based on CodeMirror 6 (#8793)
This commit is contained in:
@@ -4,11 +4,13 @@ const React = require('react');
|
||||
const { useMemo, useState, useEffect } = require('react');
|
||||
const MaterialCommunityIcon = require('react-native-vector-icons/MaterialCommunityIcons').default;
|
||||
|
||||
import { SearchControl, SearchState, EditorSettings } from './types';
|
||||
import { EditorSettings } from './types';
|
||||
import { _ } from '@joplin/lib/locale';
|
||||
import { BackHandler, TextInput, View, Text, StyleSheet, ViewStyle } from 'react-native';
|
||||
import { Theme } from '@joplin/lib/themes/type';
|
||||
import CustomButton from '../CustomButton';
|
||||
import { SearchState } from '@joplin/editor/types';
|
||||
import { SearchControl } from './types';
|
||||
|
||||
const buttonSize = 48;
|
||||
|
||||
@@ -284,7 +286,7 @@ export const SearchPanel = (props: SearchPanelProps) => {
|
||||
themeId={themeId}
|
||||
styles={styles}
|
||||
iconName="swap-horizontal"
|
||||
onPress={control.replaceCurrent}
|
||||
onPress={control.replaceNext}
|
||||
title={_('Replace')}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user