Questions tagged [slate]

Slate is a Python package that can extract text from a PDF file.

Slate, available at https://pypi.python.org/pypi/slate, takes as input a file-like object representing a PDF file and returns the text from the file.

78 questions
0
votes
0 answers

Separate data response rich text and plain text

I'm dealing with a Next Typescript project. I'm building a form with formik, slate framework to send a form with rich text to server. The problem is with the old data, it was already stored in database as plain text and the new one will be stored as…
0
votes
0 answers

Slate - set multiple variables via javascript?

How can i set multiple variables via JavaScript in Slate? So, can i set a slate variable also via JavaScript, by running a JavaScript if a button event was done? I want to avoid 10 events for each variable...
Marco
  • 91
  • 4
0
votes
1 answer

Foundry Slate - Table widget get cell value

In Slate I have a table widget and like to read out values from cells by clicking the cell. I heard it might work using 'ClickEvent' but I have no clude how to do this :-( Anyone has experience? I tried nothing becuase I don't know how. I like to…
Daniel
  • 59
  • 4
0
votes
1 answer

ctrl + z, ctrl + y not working in slate.js editor

ctrl z not working in my slateJs editor, but it is working fine in slate example
Aman Ghanghoriya
  • 169
  • 3
  • 10
0
votes
1 answer

Refresh platform data in tables after action

if i did some edits on data via functions on objects in tables are still the old data. Only after Browser refresh the changes are visible. Data is coming via Slate JavaScript Functions from Platform. Is there a way to refresh this data shown in…
Marco
  • 91
  • 4
0
votes
0 answers

slate not working properly in shopify app

hey all Im trying to use slate and slate-react in my shopify app project but it is throwing me an error (cannot read properties of null useRef from slate component) have tried exact same thing in my local project (cra) and its fine and works! what…
0
votes
2 answers

How do you call workbook logic from slate within foundry?

What is the Best way to send request (input-data) from foundry-slate to the workbook, trigger the python code and get response(python-output) without refreshing the page?
0
votes
0 answers

Using react Slate/Plate to enforce first line char limit

I want to create a situation where the first line servers as title, limited to X chars. (say 70 characters) and the other lines could be any length. For example : This is a title Some other text goes here that explains the situation. It should be…
0
votes
1 answer

REACT - error: 'slate-react' does not contain a default export (imported as 'Editor')

I am confused by this. I couldn't find a solution. Returns an error: ./src/components/TextEditor.js Attempted import error: 'slate-react' does not contain a default export (imported as 'Editor'). import React, { Component } from 'react' import…
0
votes
1 answer

Error: Editor' is not exported from 'slate-react'

I'm trying to build simple slate editor in React. I'm using create-react-app and I have made simple component for representing the editor import React, { useState } from "react"; import { Editor } from "slate-react"; import { Value } from…
HardRock
  • 809
  • 2
  • 12
  • 37
0
votes
1 answer

How to add SWidgetSwitcher and get/set current widget index in Unreal Engine 4?

I'm trying to make a simple menu widget with Slate. I'm able to add canvas, buttons etc like SNew(SCanvas) but I am stuck with SNew(SWidgetSwitcher), on how to use this and set the widget index. I'm new to this and havn't found much info on Google,…
0
votes
1 answer

HTML element appears out of the pages edge

I createed the following HTML element:
Ali Husham
  • 816
  • 10
  • 31
0
votes
1 answer

Unable to install SLATE via PIP

I'm getting the following error when I try to install slate using pip install slate: C:\Users\co_46>pip install slate Collecting slate Using cached slate-0.3.zip (20 kB) Collecting distribute Using cached distribute-0.7.3.zip (145 kB) ERROR:…
0
votes
1 answer

I'm having trouble sending leads from LinkedIn with Zapier to Slate CRM

I am trying to send LinkedIn leads from LinkedIn via Webhooks by Zapier to Slate but every time I test successfully from Zapier I get an error in Slate. Here is the error I am getting on the Slate side: zapier data impor error data that is coming…
0
votes
1 answer

Markdown comment within table

I am looking for a way to add comments specific to different rows in a Markdown table (parsed by Slate). I don't want them to appear in the HTML generated from this Markdown file. I haven't found any comment syntax which works in this setting. I…
V. Déhaye
  • 493
  • 6
  • 20