Open harshit275 opened 2 months ago
Hey @harshit275 , Could you try take a look at: https://10play.github.io/10tap-editor/docs/examples/navHeader
Hey @17Amir17 ,
Thanks for the quick response. The above fix is working but only when I turn the hidden prop in Toolbar component to false.
<Toolbar editor={editor} hidden={false} />
Is this right? Is this how I supposed to do it? Why is this not mentioned in the tutorial? Or is it there and I kind of missed it?
Hello,
I am trying to integrate the 10tap-editor library into my Expo project using expo-router, but I am facing issues with rendering the toolbar inside the editor. Despite following the setup instructions, the toolbar does not appear on the screen.
Steps to Reproduce:
npx expo install @10play/tentap-editor react-native-webview
interface EditorProps { content: string; }
export function Editor({ content }: EditorProps) { const editor = useEditorBridge({ autofocus: true, avoidIosKeyboard: true, });
useEffect(() => { editor.setContent(content); }, [content, editor]);
return ( <SafeAreaView style={{ flex: 1 }}>
); }
import { Editor } from "@/components/Editor";
export default function EditorScreen() { return ;
}